Platformer in OpenGL
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

251 行
13 KiB

5年前
  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</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<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:ga789802bec2d4fe0f9741c731b4a8a7d8"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  73. <tr class="memitem:ga789802bec2d4fe0f9741c731b4a8a7d8"><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="a00729.html#ga789802bec2d4fe0f9741c731b4a8a7d8">hsvColor</a> (vec&lt; 3, T, Q &gt; const &amp;rgbValue)</td></tr>
  74. <tr class="separator:ga789802bec2d4fe0f9741c731b4a8a7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
  75. <tr class="memitem:gad028e0a4f1a9c812b39439b746295b34"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  76. <tr class="memitem:gad028e0a4f1a9c812b39439b746295b34"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00729.html#gad028e0a4f1a9c812b39439b746295b34">luminosity</a> (vec&lt; 3, T, Q &gt; const &amp;color)</td></tr>
  77. <tr class="separator:gad028e0a4f1a9c812b39439b746295b34"><td class="memSeparator" colspan="2">&#160;</td></tr>
  78. <tr class="memitem:ga5f9193be46f45f0655c05a0cdca006db"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  79. <tr class="memitem:ga5f9193be46f45f0655c05a0cdca006db"><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="a00729.html#ga5f9193be46f45f0655c05a0cdca006db">rgbColor</a> (vec&lt; 3, T, Q &gt; const &amp;hsvValue)</td></tr>
  80. <tr class="separator:ga5f9193be46f45f0655c05a0cdca006db"><td class="memSeparator" colspan="2">&#160;</td></tr>
  81. <tr class="memitem:ga01a97152b44e1550edcac60bd849e884"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
  82. <tr class="memitem:ga01a97152b44e1550edcac60bd849e884"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL mat&lt; 4, 4, T, defaultp &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00729.html#ga01a97152b44e1550edcac60bd849e884">saturation</a> (T const s)</td></tr>
  83. <tr class="separator:ga01a97152b44e1550edcac60bd849e884"><td class="memSeparator" colspan="2">&#160;</td></tr>
  84. <tr class="memitem:ga2156cea600e90148ece5bc96fd6db43a"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  85. <tr class="memitem:ga2156cea600e90148ece5bc96fd6db43a"><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="a00729.html#ga2156cea600e90148ece5bc96fd6db43a">saturation</a> (T const s, vec&lt; 3, T, Q &gt; const &amp;color)</td></tr>
  86. <tr class="separator:ga2156cea600e90148ece5bc96fd6db43a"><td class="memSeparator" colspan="2">&#160;</td></tr>
  87. <tr class="memitem:gaba0eacee0736dae860e9371cc1ae4785"><td class="memTemplParams" colspan="2">template&lt;typename T , qualifier Q&gt; </td></tr>
  88. <tr class="memitem:gaba0eacee0736dae860e9371cc1ae4785"><td class="memTemplItemLeft" align="right" valign="top">GLM_FUNC_DECL vec&lt; 4, T, Q &gt;&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="a00729.html#gaba0eacee0736dae860e9371cc1ae4785">saturation</a> (T const s, vec&lt; 4, T, Q &gt; const &amp;color)</td></tr>
  89. <tr class="separator:gaba0eacee0736dae860e9371cc1ae4785"><td class="memSeparator" colspan="2">&#160;</td></tr>
  90. </table>
  91. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  92. <p>Include &lt;<a class="el" href="a01349.html" title="GLM_GTX_color_space ">glm/gtx/color_space.hpp</a>&gt; to use the features of this extension. </p>
  93. <p>Related to RGB to HSV conversions and operations. </p>
  94. <h2 class="groupheader">Function Documentation</h2>
  95. <a id="ga789802bec2d4fe0f9741c731b4a8a7d8"></a>
  96. <h2 class="memtitle"><span class="permalink"><a href="#ga789802bec2d4fe0f9741c731b4a8a7d8">&#9670;&nbsp;</a></span>hsvColor()</h2>
  97. <div class="memitem">
  98. <div class="memproto">
  99. <table class="memname">
  100. <tr>
  101. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::hsvColor </td>
  102. <td>(</td>
  103. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  104. <td class="paramname"><em>rgbValue</em></td><td>)</td>
  105. <td></td>
  106. </tr>
  107. </table>
  108. </div><div class="memdoc">
  109. <p>Converts a color from RGB color space to its color in HSV color space. </p>
  110. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00729.html" title="Include &lt;glm/gtx/color_space.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space</a> </dd></dl>
  111. </div>
  112. </div>
  113. <a id="gad028e0a4f1a9c812b39439b746295b34"></a>
  114. <h2 class="memtitle"><span class="permalink"><a href="#gad028e0a4f1a9c812b39439b746295b34">&#9670;&nbsp;</a></span>luminosity()</h2>
  115. <div class="memitem">
  116. <div class="memproto">
  117. <table class="memname">
  118. <tr>
  119. <td class="memname">GLM_FUNC_DECL T glm::luminosity </td>
  120. <td>(</td>
  121. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  122. <td class="paramname"><em>color</em></td><td>)</td>
  123. <td></td>
  124. </tr>
  125. </table>
  126. </div><div class="memdoc">
  127. <p>Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals. </p>
  128. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00729.html" title="Include &lt;glm/gtx/color_space.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space</a> </dd></dl>
  129. </div>
  130. </div>
  131. <a id="ga5f9193be46f45f0655c05a0cdca006db"></a>
  132. <h2 class="memtitle"><span class="permalink"><a href="#ga5f9193be46f45f0655c05a0cdca006db">&#9670;&nbsp;</a></span>rgbColor()</h2>
  133. <div class="memitem">
  134. <div class="memproto">
  135. <table class="memname">
  136. <tr>
  137. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::rgbColor </td>
  138. <td>(</td>
  139. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  140. <td class="paramname"><em>hsvValue</em></td><td>)</td>
  141. <td></td>
  142. </tr>
  143. </table>
  144. </div><div class="memdoc">
  145. <p>Converts a color from HSV color space to its color in RGB color space. </p>
  146. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00729.html" title="Include &lt;glm/gtx/color_space.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space</a> </dd></dl>
  147. </div>
  148. </div>
  149. <a id="ga01a97152b44e1550edcac60bd849e884"></a>
  150. <h2 class="memtitle"><span class="permalink"><a href="#ga01a97152b44e1550edcac60bd849e884">&#9670;&nbsp;</a></span>saturation() <span class="overload">[1/3]</span></h2>
  151. <div class="memitem">
  152. <div class="memproto">
  153. <table class="memname">
  154. <tr>
  155. <td class="memname">GLM_FUNC_DECL mat&lt;4, 4, T, defaultp&gt; glm::saturation </td>
  156. <td>(</td>
  157. <td class="paramtype">T const&#160;</td>
  158. <td class="paramname"><em>s</em></td><td>)</td>
  159. <td></td>
  160. </tr>
  161. </table>
  162. </div><div class="memdoc">
  163. <p>Build a saturation matrix. </p>
  164. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00729.html" title="Include &lt;glm/gtx/color_space.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space</a> </dd></dl>
  165. </div>
  166. </div>
  167. <a id="ga2156cea600e90148ece5bc96fd6db43a"></a>
  168. <h2 class="memtitle"><span class="permalink"><a href="#ga2156cea600e90148ece5bc96fd6db43a">&#9670;&nbsp;</a></span>saturation() <span class="overload">[2/3]</span></h2>
  169. <div class="memitem">
  170. <div class="memproto">
  171. <table class="memname">
  172. <tr>
  173. <td class="memname">GLM_FUNC_DECL vec&lt;3, T, Q&gt; glm::saturation </td>
  174. <td>(</td>
  175. <td class="paramtype">T const&#160;</td>
  176. <td class="paramname"><em>s</em>, </td>
  177. </tr>
  178. <tr>
  179. <td class="paramkey"></td>
  180. <td></td>
  181. <td class="paramtype">vec&lt; 3, T, Q &gt; const &amp;&#160;</td>
  182. <td class="paramname"><em>color</em>&#160;</td>
  183. </tr>
  184. <tr>
  185. <td></td>
  186. <td>)</td>
  187. <td></td><td></td>
  188. </tr>
  189. </table>
  190. </div><div class="memdoc">
  191. <p>Modify the saturation of a color. </p>
  192. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00729.html" title="Include &lt;glm/gtx/color_space.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space</a> </dd></dl>
  193. </div>
  194. </div>
  195. <a id="gaba0eacee0736dae860e9371cc1ae4785"></a>
  196. <h2 class="memtitle"><span class="permalink"><a href="#gaba0eacee0736dae860e9371cc1ae4785">&#9670;&nbsp;</a></span>saturation() <span class="overload">[3/3]</span></h2>
  197. <div class="memitem">
  198. <div class="memproto">
  199. <table class="memname">
  200. <tr>
  201. <td class="memname">GLM_FUNC_DECL vec&lt;4, T, Q&gt; glm::saturation </td>
  202. <td>(</td>
  203. <td class="paramtype">T const&#160;</td>
  204. <td class="paramname"><em>s</em>, </td>
  205. </tr>
  206. <tr>
  207. <td class="paramkey"></td>
  208. <td></td>
  209. <td class="paramtype">vec&lt; 4, T, Q &gt; const &amp;&#160;</td>
  210. <td class="paramname"><em>color</em>&#160;</td>
  211. </tr>
  212. <tr>
  213. <td></td>
  214. <td>)</td>
  215. <td></td><td></td>
  216. </tr>
  217. </table>
  218. </div><div class="memdoc">
  219. <p>Modify the saturation of a color. </p>
  220. <dl class="section see"><dt>See also</dt><dd><a class="el" href="a00729.html" title="Include &lt;glm/gtx/color_space.hpp&gt; to use the features of this extension. ">GLM_GTX_color_space</a> </dd></dl>
  221. </div>
  222. </div>
  223. </div><!-- contents -->
  224. <!-- start footer part -->
  225. <hr class="footer"/><address class="footer"><small>
  226. Generated by &#160;<a href="http://www.doxygen.org/index.html">
  227. <img class="footer" src="doxygen.png" alt="doxygen"/>
  228. </a> 1.8.14
  229. </small></address>
  230. </body>
  231. </html>