Platformer in OpenGL
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

187 lines
9.5 KiB

5 years ago
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=9"/>
  6. <meta name="generator" content="Doxygen 1.8.14"/>
  7. <meta name="viewport" content="width=device-width, initial-scale=1"/>
  8. <title>0.9.9 API documenation: GLM_GTX_color_space_YCoCg</title>
  9. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  10. <script type="text/javascript" src="jquery.js"></script>
  11. <script type="text/javascript" src="dynsections.js"></script>
  12. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  13. <script type="text/javascript" src="search/searchdata.js"></script>
  14. <script type="text/javascript" src="search/search.js"></script>
  15. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  19. <div id="titlearea">
  20. <table cellspacing="0" cellpadding="0">
  21. <tbody>
  22. <tr style="height: 56px;">
  23. <td id="projectlogo"><img alt="Logo" src="logo-mini.png"/></td>
  24. <td id="projectalign" style="padding-left: 0.5em;">
  25. <div id="projectname">0.9.9 API documenation
  26. </div>
  27. </td>
  28. </tr>
  29. </tbody>
  30. </table>
  31. </div>
  32. <!-- end header part -->
  33. <!-- Generated by Doxygen 1.8.14 -->
  34. <script type="text/javascript">
  35. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. /* @license-end */
  38. </script>
  39. <script type="text/javascript" src="menudata.js"></script>
  40. <script type="text/javascript" src="menu.js"></script>
  41. <script type="text/javascript">
  42. /* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  43. $(function() {
  44. initMenu('',true,false,'search.php','Search');
  45. $(document).ready(function() { init_search(); });
  46. });
  47. /* @license-end */</script>
  48. <div id="main-nav"></div>
  49. </div><!-- top -->
  50. <!-- window showing the filter options -->
  51. <div id="MSearchSelectWindow"
  52. onmouseover="return searchBox.OnSearchSelectShow()"
  53. onmouseout="return searchBox.OnSearchSelectHide()"
  54. onkeydown="return searchBox.OnSearchSelectKey(event)">
  55. </div>
  56. <!-- iframe showing the search results (closed by default) -->
  57. <div id="MSearchResultsWindow">
  58. <iframe src="javascript:void(0)" frameborder="0"
  59. name="MSearchResults" id="MSearchResults">
  60. </iframe>
  61. </div>
  62. <div class="header">
  63. <div class="summary">
  64. <a href="#func-members">Functions</a> </div>
  65. <div class="headertitle">
  66. <div class="title">GLM_GTX_color_space_YCoCg<div class="ingroups"><a class="el" href="a00705.html">Experimental extensions</a></div></div> </div>
  67. </div><!--header-->
  68. <div class="contents">
  69. <table class="memberdecls">
  70. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  71. Functions</h2></td></tr>
  72. <tr class="memitem:ga0606353ec2a9b9eaa84f1b02ec391bc5"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:ga0606353ec2a9b9eaa84f1b02ec391bc5"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00730.html#ga0606353ec2a9b9eaa84f1b02ec391bc5">rgb2YCoCg</a> (vec&lt; 3, T, Q &gt; const &amp;rgbColor)</td></tr>
  74. <tr class="separator:ga0606353ec2a9b9eaa84f1b02ec391bc5"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:ga0389772e44ca0fd2ba4a79bdd8efe898"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:ga0389772e44ca0fd2ba4a79bdd8efe898"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00730.html#ga0389772e44ca0fd2ba4a79bdd8efe898">rgb2YCoCgR</a> (vec&lt; 3, T, Q &gt; const &amp;rgbColor)</td></tr>
  77. <tr class="separator:ga0389772e44ca0fd2ba4a79bdd8efe898"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga163596b804c7241810b2534a99eb1343"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga163596b804c7241810b2534a99eb1343"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00730.html#ga163596b804c7241810b2534a99eb1343">YCoCg2rgb</a> (vec&lt; 3, T, Q &gt; const &amp;YCoCgColor)</td></tr>
  80. <tr class="separator:ga163596b804c7241810b2534a99eb1343"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:gaf8d30574c8576838097d8e20c295384a"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  82. <tr class="memitem:gaf8d30574c8576838097d8e20c295384a"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 3, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00730.html#gaf8d30574c8576838097d8e20c295384a">YCoCgR2rgb</a> (vec&lt; 3, T, Q &gt; const &amp;YCoCgColor)</td></tr>
  83. <tr class="separator:gaf8d30574c8576838097d8e20c295384a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. </table>
  85. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  86. <p>Include &lt;<a class="el" href="a00458.html" title="GLM_GTX_color_space_YCoCg ">glm/gtx/color_space_YCoCg.hpp</a>&gt; to use the features of this extension. </p>
  87. <p>RGB to YCoCg conversions and operations </p>
  88. <h2 class="groupheader">Function Documentation</h2>
  89. <a id="ga0606353ec2a9b9eaa84f1b02ec391bc5"></a>
  90. <h2 class="memtitle"><span class="permalink"><a href="#ga0606353ec2a9b9eaa84f1b02ec391bc5">&#9670;&nbsp;</a></span>rgb2YCoCg()</h2>
  91. <div class="memitem">
  92. <div class="memproto">
  93. <table class="memname">
  94. <tr>
  95. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rgb2YCoCg </td>
  96. <td>(</td>
  97. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  98. <td class="paramname"><em>rgbColor</em></td><td>)</td>
  99. <td></td>
  100. </tr>
  101. </table>
  102. </div><div class="memdoc">
  103. <p>Convert a color from RGB color space to YCoCg color space. </p>
  104. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00730.html" title="Include &lt;glm/gtx/color_space_YCoCg.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space_YCoCg</a> </dd></dl>
  105. </div>
  106. </div>
  107. <a id="ga0389772e44ca0fd2ba4a79bdd8efe898"></a>
  108. <h2 class="memtitle"><span class="permalink"><a href="#ga0389772e44ca0fd2ba4a79bdd8efe898">&#9670;&nbsp;</a></span>rgb2YCoCgR()</h2>
  109. <div class="memitem">
  110. <div class="memproto">
  111. <table class="memname">
  112. <tr>
  113. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rgb2YCoCgR </td>
  114. <td>(</td>
  115. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  116. <td class="paramname"><em>rgbColor</em></td><td>)</td>
  117. <td></td>
  118. </tr>
  119. </table>
  120. </div><div class="memdoc">
  121. <p>Convert a color from RGB color space to YCoCgR color space. </p>
  122. <dl class="section see"><dt>See also</dt><dd>"YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range" </dd>
  123. <dd>
  124. <a class="el" href="a00730.html" title="Include &lt;glm/gtx/color_space_YCoCg.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space_YCoCg</a> </dd></dl>
  125. </div>
  126. </div>
  127. <a id="ga163596b804c7241810b2534a99eb1343"></a>
  128. <h2 class="memtitle"><span class="permalink"><a href="#ga163596b804c7241810b2534a99eb1343">&#9670;&nbsp;</a></span>YCoCg2rgb()</h2>
  129. <div class="memitem">
  130. <div class="memproto">
  131. <table class="memname">
  132. <tr>
  133. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::YCoCg2rgb </td>
  134. <td>(</td>
  135. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  136. <td class="paramname"><em>YCoCgColor</em></td><td>)</td>
  137. <td></td>
  138. </tr>
  139. </table>
  140. </div><div class="memdoc">
  141. <p>Convert a color from YCoCg color space to RGB color space. </p>
  142. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00730.html" title="Include &lt;glm/gtx/color_space_YCoCg.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space_YCoCg</a> </dd></dl>
  143. </div>
  144. </div>
  145. <a id="gaf8d30574c8576838097d8e20c295384a"></a>
  146. <h2 class="memtitle"><span class="permalink"><a href="#gaf8d30574c8576838097d8e20c295384a">&#9670;&nbsp;</a></span>YCoCgR2rgb()</h2>
  147. <div class="memitem">
  148. <div class="memproto">
  149. <table class="memname">
  150. <tr>
  151. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::YCoCgR2rgb </td>
  152. <td>(</td>
  153. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  154. <td class="paramname"><em>YCoCgColor</em></td><td>)</td>
  155. <td></td>
  156. </tr>
  157. </table>
  158. </div><div class="memdoc">
  159. <p>Convert a color from YCoCgR color space to RGB color space. </p>
  160. <dl class="section see"><dt>See also</dt><dd>"YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range" </dd>
  161. <dd>
  162. <a class="el" href="a00730.html" title="Include &lt;glm/gtx/color_space_YCoCg.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space_YCoCg</a> </dd></dl>
  163. </div>
  164. </div>
  165. </div><!-- contents -->
  166. <!-- start footer part -->
  167. <hr class="footer"/><address class="footer"><small>
  168. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  169. <img class="footer" src="doxygen.png" alt="doxygen"/>
  170. </a> 1.8.14
  171. </small></address>
  172. </body>
  173. </html>