mirror of
https://github.com/g-truc/glm.git
synced 2024-11-27 10:44:34 +00:00
228 lines
25 KiB
HTML
228 lines
25 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"/>
|
||
|
<title>GLM_GTX_color_cast: Color conversion</title>
|
||
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||
|
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
|
||
|
</head>
|
||
|
<body>
|
||
|
<!-- Generated by Doxygen 1.7.3 -->
|
||
|
<div id="top">
|
||
|
<div id="titlearea">
|
||
|
<table cellspacing="0" cellpadding="0">
|
||
|
<tbody>
|
||
|
<tr style="height: 56px;">
|
||
|
<td id="projectlogo"><img alt="Logo" src="logo-mini.png"></td>
|
||
|
</tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div id="navrow1" class="tabs">
|
||
|
<ul class="tablist">
|
||
|
<li><a href="index.html"><span>Main Page</span></a></li>
|
||
|
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||
|
<li><a href="modules.html"><span>Modules</span></a></li>
|
||
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||
|
<li><a href="files.html"><span>Files</span></a></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="header">
|
||
|
<div class="summary">
|
||
|
<a href="#func-members">Functions</a> </div>
|
||
|
<div class="headertitle">
|
||
|
<h1>GLM_GTX_color_cast: Color conversion</h1> </div>
|
||
|
<div class="ingroups"><a class="el" href="a00152.html">GTX Extensions (Experimental)</a></div></div>
|
||
|
<div class="contents">
|
||
|
|
||
|
<p>Conversion between two color types.
|
||
|
<a href="#_details">More...</a></p>
|
||
|
<table class="memberdecls">
|
||
|
<tr><td colspan="2"><h2><a name="func-members"></a>
|
||
|
Functions</h2></td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gac252e455006739afc1fd1f78136784a2"></a><!-- doxytag: member="gtx_color_cast::f16_abgr_cast" ref="gac252e455006739afc1fd1f78136784a2" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gac252e455006739afc1fd1f78136784a2">f16_abgr_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga7bce1faac9af25f487b370876d6d05d2"></a><!-- doxytag: member="gtx_color_cast::f16_argb_cast" ref="ga7bce1faac9af25f487b370876d6d05d2" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga7bce1faac9af25f487b370876d6d05d2">f16_argb_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gad05a2c61907613f3dca363b07238a9b4"></a><!-- doxytag: member="gtx_color_cast::f16_bgra_cast" ref="gad05a2c61907613f3dca363b07238a9b4" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gad05a2c61907613f3dca363b07238a9b4">f16_bgra_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga3ec21e5e40aa3fac65c1da96b350fa84"></a><!-- doxytag: member="gtx_color_cast::f16_bgrx_cast" ref="ga3ec21e5e40aa3fac65c1da96b350fa84" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga3ec21e5e40aa3fac65c1da96b350fa84">f16_bgrx_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga2c1e86d72ff7dd3d55f0a6de4632012c"></a><!-- doxytag: member="gtx_color_cast::f16_channel_cast" ref="ga2c1e86d72ff7dd3d55f0a6de4632012c" args="(T a)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga2c1e86d72ff7dd3d55f0a6de4632012c">f16_channel_cast</a> (T a)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga3af415308c4424b473d024a79889672d"></a><!-- doxytag: member="gtx_color_cast::f16_rgba_cast" ref="ga3af415308c4424b473d024a79889672d" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga3af415308c4424b473d024a79889672d">f16_rgba_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga67bce344b520ee8d04fc006182939f3c"></a><!-- doxytag: member="gtx_color_cast::f16_rgbx_cast" ref="ga67bce344b520ee8d04fc006182939f3c" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga67bce344b520ee8d04fc006182939f3c">f16_rgbx_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gab15c53fcb23234e042cd3809062b4c3e"></a><!-- doxytag: member="gtx_color_cast::f16_xbgr_cast" ref="gab15c53fcb23234e042cd3809062b4c3e" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gab15c53fcb23234e042cd3809062b4c3e">f16_xbgr_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga40eb51f3164252ee9bfd336d49101703"></a><!-- doxytag: member="gtx_color_cast::f16_xrgb_cast" ref="ga40eb51f3164252ee9bfd336d49101703" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f16vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga40eb51f3164252ee9bfd336d49101703">f16_xrgb_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga771303b46399f2012bdcfc558ab2b27d"></a><!-- doxytag: member="gtx_color_cast::f32_abgr_cast" ref="ga771303b46399f2012bdcfc558ab2b27d" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga771303b46399f2012bdcfc558ab2b27d">f32_abgr_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gad5c12b77f78ebcb3e99c509cf790f49f"></a><!-- doxytag: member="gtx_color_cast::f32_argb_cast" ref="gad5c12b77f78ebcb3e99c509cf790f49f" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gad5c12b77f78ebcb3e99c509cf790f49f">f32_argb_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga050a17c67ab744d1f06d0897d75150d5"></a><!-- doxytag: member="gtx_color_cast::f32_bgra_cast" ref="ga050a17c67ab744d1f06d0897d75150d5" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga050a17c67ab744d1f06d0897d75150d5">f32_bgra_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5c123484700df864d6fc52fe642d55cf"></a><!-- doxytag: member="gtx_color_cast::f32_bgrx_cast" ref="ga5c123484700df864d6fc52fe642d55cf" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga5c123484700df864d6fc52fe642d55cf">f32_bgrx_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gabb22c4cafc41e50b451d20d36f171731"></a><!-- doxytag: member="gtx_color_cast::f32_channel_cast" ref="gabb22c4cafc41e50b451d20d36f171731" args="(T a)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gabb22c4cafc41e50b451d20d36f171731">f32_channel_cast</a> (T a)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga18b37f558bd58410a0e8de1e0ca15c82"></a><!-- doxytag: member="gtx_color_cast::f32_rgba_cast" ref="ga18b37f558bd58410a0e8de1e0ca15c82" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga18b37f558bd58410a0e8de1e0ca15c82">f32_rgba_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga1c98f7dd0c8dae877543690e3d578b97"></a><!-- doxytag: member="gtx_color_cast::f32_rgbx_cast" ref="ga1c98f7dd0c8dae877543690e3d578b97" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga1c98f7dd0c8dae877543690e3d578b97">f32_rgbx_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga9f81ac8977e3452ff70720b3d47d89a4"></a><!-- doxytag: member="gtx_color_cast::f32_xbgr_cast" ref="ga9f81ac8977e3452ff70720b3d47d89a4" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga9f81ac8977e3452ff70720b3d47d89a4">f32_xbgr_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf17553d7e72a5f130866b33ea89efa2a"></a><!-- doxytag: member="gtx_color_cast::f32_xrgb_cast" ref="gaf17553d7e72a5f130866b33ea89efa2a" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f32vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gaf17553d7e72a5f130866b33ea89efa2a">f32_xrgb_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga39d7603abecdff4fb58411cc1e7c8dad"></a><!-- doxytag: member="gtx_color_cast::f64_abgr_cast" ref="ga39d7603abecdff4fb58411cc1e7c8dad" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga39d7603abecdff4fb58411cc1e7c8dad">f64_abgr_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga7f3137ef9bdda4696751f8f1c7f42155"></a><!-- doxytag: member="gtx_color_cast::f64_argb_cast" ref="ga7f3137ef9bdda4696751f8f1c7f42155" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga7f3137ef9bdda4696751f8f1c7f42155">f64_argb_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga018305651a39b3f95f05bd98bc15ec15"></a><!-- doxytag: member="gtx_color_cast::f64_bgra_cast" ref="ga018305651a39b3f95f05bd98bc15ec15" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga018305651a39b3f95f05bd98bc15ec15">f64_bgra_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga9b820105a3ec028b922fa38fdf26738a"></a><!-- doxytag: member="gtx_color_cast::f64_bgrx_cast" ref="ga9b820105a3ec028b922fa38fdf26738a" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga9b820105a3ec028b922fa38fdf26738a">f64_bgrx_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gac24c58073a1098658cb71b69f153eddb"></a><!-- doxytag: member="gtx_color_cast::f64_channel_cast" ref="gac24c58073a1098658cb71b69f153eddb" args="(T a)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gac24c58073a1098658cb71b69f153eddb">f64_channel_cast</a> (T a)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga3ceaee331054fa9495696a13d98240ea"></a><!-- doxytag: member="gtx_color_cast::f64_rgba_cast" ref="ga3ceaee331054fa9495696a13d98240ea" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec4 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga3ceaee331054fa9495696a13d98240ea">f64_rgba_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga26412c0163a420ba42115f72687dbe43"></a><!-- doxytag: member="gtx_color_cast::f64_rgbx_cast" ref="ga26412c0163a420ba42115f72687dbe43" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga26412c0163a420ba42115f72687dbe43">f64_rgbx_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga60f1746f1724d944eb15a796070ea0c9"></a><!-- doxytag: member="gtx_color_cast::f64_xbgr_cast" ref="ga60f1746f1724d944eb15a796070ea0c9" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga60f1746f1724d944eb15a796070ea0c9">f64_xbgr_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga63f768447dfb3ff392c942ea64c8c2bd"></a><!-- doxytag: member="gtx_color_cast::f64_xrgb_cast" ref="ga63f768447dfb3ff392c942ea64c8c2bd" args="(T c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">f64vec3 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga63f768447dfb3ff392c942ea64c8c2bd">f64_xrgb_cast</a> (T c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint16 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga58e13c8f344a16e4cdbdcff14f217b61">u16channel_cast</a> (valType a)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga3356b8b1b68b60a00be61dfe51b6f7d5"></a><!-- doxytag: member="gtx_color_cast::u32_abgr_cast" ref="ga3356b8b1b68b60a00be61dfe51b6f7d5" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga3356b8b1b68b60a00be61dfe51b6f7d5">u32_abgr_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaeace1cab9c7a6bdd717de31db9d4e4e9"></a><!-- doxytag: member="gtx_color_cast::u32_argb_cast" ref="gaeace1cab9c7a6bdd717de31db9d4e4e9" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gaeace1cab9c7a6bdd717de31db9d4e4e9">u32_argb_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga8e8cf5555a9a4a2922e89e5c42d019d2"></a><!-- doxytag: member="gtx_color_cast::u32_bgra_cast" ref="ga8e8cf5555a9a4a2922e89e5c42d019d2" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga8e8cf5555a9a4a2922e89e5c42d019d2">u32_bgra_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gae004e96ba238269fa5346f0c73d1260d"></a><!-- doxytag: member="gtx_color_cast::u32_bgrx_cast" ref="gae004e96ba238269fa5346f0c73d1260d" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gae004e96ba238269fa5346f0c73d1260d">u32_bgrx_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga9c1b992350b233ca7acfe6f70c4ffc1c"></a><!-- doxytag: member="gtx_color_cast::u32_rgba_cast" ref="ga9c1b992350b233ca7acfe6f70c4ffc1c" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga9c1b992350b233ca7acfe6f70c4ffc1c">u32_rgba_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gab6ee3f01f0a515b0e1b8ac38fcc5751d"></a><!-- doxytag: member="gtx_color_cast::u32_rgbx_cast" ref="gab6ee3f01f0a515b0e1b8ac38fcc5751d" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gab6ee3f01f0a515b0e1b8ac38fcc5751d">u32_rgbx_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaaf701608e91517ec2580d912732c3b09"></a><!-- doxytag: member="gtx_color_cast::u32_xbgr_cast" ref="gaaf701608e91517ec2580d912732c3b09" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gaaf701608e91517ec2580d912732c3b09">u32_xbgr_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga1b28fc98a39fc959997920585ea47e98"></a><!-- doxytag: member="gtx_color_cast::u32_xrgb_cast" ref="ga1b28fc98a39fc959997920585ea47e98" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint32 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga1b28fc98a39fc959997920585ea47e98">u32_xrgb_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga5ee4269b784a7139a0266475acbf61a7"></a><!-- doxytag: member="gtx_color_cast::u64_abgr_cast" ref="ga5ee4269b784a7139a0266475acbf61a7" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga5ee4269b784a7139a0266475acbf61a7">u64_abgr_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gac38203b79a9e422b7a10a30fdb1c3da9"></a><!-- doxytag: member="gtx_color_cast::u64_argb_cast" ref="gac38203b79a9e422b7a10a30fdb1c3da9" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gac38203b79a9e422b7a10a30fdb1c3da9">u64_argb_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gacdd02b2f7906a095e3759c5b22cd2e8a"></a><!-- doxytag: member="gtx_color_cast::u64_bgra_cast" ref="gacdd02b2f7906a095e3759c5b22cd2e8a" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gacdd02b2f7906a095e3759c5b22cd2e8a">u64_bgra_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="gaf3a0637c8368dbb0072bc5bc7b50c1ae"></a><!-- doxytag: member="gtx_color_cast::u64_bgrx_cast" ref="gaf3a0637c8368dbb0072bc5bc7b50c1ae" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gaf3a0637c8368dbb0072bc5bc7b50c1ae">u64_bgrx_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga23862f7fb282b97afef6502ed4dbcd71"></a><!-- doxytag: member="gtx_color_cast::u64_rgba_cast" ref="ga23862f7fb282b97afef6502ed4dbcd71" args="(const detail::tvec4< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga23862f7fb282b97afef6502ed4dbcd71">u64_rgba_cast</a> (const detail::tvec4< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga9143e2afd0f7e7dc5e4e2c24b806591d"></a><!-- doxytag: member="gtx_color_cast::u64_rgbx_cast" ref="ga9143e2afd0f7e7dc5e4e2c24b806591d" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga9143e2afd0f7e7dc5e4e2c24b806591d">u64_rgbx_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga286be0ac75404981c4988f5028089707"></a><!-- doxytag: member="gtx_color_cast::u64_xbgr_cast" ref="ga286be0ac75404981c4988f5028089707" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga286be0ac75404981c4988f5028089707">u64_xbgr_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2"><a class="anchor" id="ga88978f39df96553f43160d566b58f691"></a><!-- doxytag: member="gtx_color_cast::u64_xrgb_cast" ref="ga88978f39df96553f43160d566b58f691" args="(const detail::tvec3< T > &c)" -->
|
||
|
template<typename T > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint64 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#ga88978f39df96553f43160d566b58f691">u64_xrgb_cast</a> (const detail::tvec3< T > &c)</td></tr>
|
||
|
<tr><td class="memTemplParams" colspan="2">template<typename valType > </td></tr>
|
||
|
<tr><td class="memTemplItemLeft" align="right" valign="top">uint8 </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00172.html#gaa715b67596301247d925b05634085d0a">u8channel_cast</a> (valType a)</td></tr>
|
||
|
</table>
|
||
|
<hr/><a name="_details"></a><h2>Detailed Description</h2>
|
||
|
<p>Conversion between two color types. </p>
|
||
|
<p><<a class="el" href="a00027.html" title="OpenGL Mathematics (glm.g-truc.net)">glm/gtx/color_cast.hpp</a>> need to be included to use these functionalities. </p>
|
||
|
<hr/><h2>Function Documentation</h2>
|
||
|
<a class="anchor" id="ga58e13c8f344a16e4cdbdcff14f217b61"></a><!-- doxytag: member="glm::u16channel_cast" ref="ga58e13c8f344a16e4cdbdcff14f217b61" args="(valType a)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">uint16 glm::u16channel_cast </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">valType </td>
|
||
|
<td class="paramname"><em>a</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>Conversion of a floating value into a 16bit unsigned int value. </p>
|
||
|
<p>From GLM_GTX_color_cast extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
<a class="anchor" id="gaa715b67596301247d925b05634085d0a"></a><!-- doxytag: member="glm::u8channel_cast" ref="gaa715b67596301247d925b05634085d0a" args="(valType a)" -->
|
||
|
<div class="memitem">
|
||
|
<div class="memproto">
|
||
|
<table class="memname">
|
||
|
<tr>
|
||
|
<td class="memname">uint8 glm::u8channel_cast </td>
|
||
|
<td>(</td>
|
||
|
<td class="paramtype">valType </td>
|
||
|
<td class="paramname"><em>a</em></td><td>)</td>
|
||
|
<td></td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<div class="memdoc">
|
||
|
|
||
|
<p>Conversion of a floating value into a 8bit unsigned int value. </p>
|
||
|
<p>From GLM_GTX_color_cast extension. </p>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<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.7.3 </small></address>
|
||
|
</body>
|
||
|
</html>
|