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.

599 lines
41 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.11"/>
  7. <title>GLFW: Native access</title>
  8. <link href="tabs.css" rel="stylesheet" type="text/css"/>
  9. <script type="text/javascript" src="jquery.js"></script>
  10. <script type="text/javascript" src="dynsections.js"></script>
  11. <link href="search/search.css" rel="stylesheet" type="text/css"/>
  12. <script type="text/javascript" src="search/searchdata.js"></script>
  13. <script type="text/javascript" src="search/search.js"></script>
  14. <script type="text/javascript">
  15. $(document).ready(function() { init_search(); });
  16. </script>
  17. <link href="doxygen.css" rel="stylesheet" type="text/css" />
  18. <link href="extra.css" rel="stylesheet" type="text/css"/>
  19. </head>
  20. <body>
  21. <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
  22. <div id="titlearea">
  23. <div class="glfwheader">
  24. <a href="http://www.glfw.org/" id="glfwhome">GLFW</a>
  25. <ul class="glfwnavbar">
  26. <li><a href="http://www.glfw.org/documentation.html">Documentation</a></li>
  27. <li><a href="http://www.glfw.org/download.html">Download</a></li>
  28. <li><a href="http://www.glfw.org/media.html">Media</a></li>
  29. <li><a href="http://www.glfw.org/community.html">Community</a></li>
  30. </ul>
  31. </div>
  32. </div>
  33. <!-- end header part -->
  34. <!-- Generated by Doxygen 1.8.11 -->
  35. <script type="text/javascript">
  36. var searchBox = new SearchBox("searchBox", "search",false,'Search');
  37. </script>
  38. <div id="navrow1" class="tabs">
  39. <ul class="tablist">
  40. <li><a href="index.html"><span>Main&#160;Page</span></a></li>
  41. <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
  42. <li class="current"><a href="modules.html"><span>Modules</span></a></li>
  43. <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
  44. <li><a href="files.html"><span>Files</span></a></li>
  45. <li>
  46. <div id="MSearchBox" class="MSearchBoxInactive">
  47. <span class="left">
  48. <img id="MSearchSelect" src="search/mag_sel.png"
  49. onmouseover="return searchBox.OnSearchSelectShow()"
  50. onmouseout="return searchBox.OnSearchSelectHide()"
  51. alt=""/>
  52. <input type="text" id="MSearchField" value="Search" accesskey="S"
  53. onfocus="searchBox.OnSearchFieldFocus(true)"
  54. onblur="searchBox.OnSearchFieldFocus(false)"
  55. onkeyup="searchBox.OnSearchFieldChange(event)"/>
  56. </span><span class="right">
  57. <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
  58. </span>
  59. </div>
  60. </li>
  61. </ul>
  62. </div>
  63. </div><!-- top -->
  64. <!-- window showing the filter options -->
  65. <div id="MSearchSelectWindow"
  66. onmouseover="return searchBox.OnSearchSelectShow()"
  67. onmouseout="return searchBox.OnSearchSelectHide()"
  68. onkeydown="return searchBox.OnSearchSelectKey(event)">
  69. </div>
  70. <!-- iframe showing the search results (closed by default) -->
  71. <div id="MSearchResultsWindow">
  72. <iframe src="javascript:void(0)" frameborder="0"
  73. name="MSearchResults" id="MSearchResults">
  74. </iframe>
  75. </div>
  76. <div class="header">
  77. <div class="summary">
  78. <a href="#func-members">Functions</a> </div>
  79. <div class="headertitle">
  80. <div class="title">Native access</div> </div>
  81. </div><!--header-->
  82. <div class="contents">
  83. <table class="memberdecls">
  84. <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
  85. Functions</h2></td></tr>
  86. <tr class="memitem:gac84f63a3f9db145b9435e5e0dbc4183d"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gac84f63a3f9db145b9435e5e0dbc4183d">glfwGetWin32Adapter</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  87. <tr class="memdesc:gac84f63a3f9db145b9435e5e0dbc4183d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the adapter device name of the specified monitor. <a href="#gac84f63a3f9db145b9435e5e0dbc4183d">More...</a><br /></td></tr>
  88. <tr class="separator:gac84f63a3f9db145b9435e5e0dbc4183d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  89. <tr class="memitem:gac408b09a330749402d5d1fa1f5894dd9"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gac408b09a330749402d5d1fa1f5894dd9">glfwGetWin32Monitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  90. <tr class="memdesc:gac408b09a330749402d5d1fa1f5894dd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the display device name of the specified monitor. <a href="#gac408b09a330749402d5d1fa1f5894dd9">More...</a><br /></td></tr>
  91. <tr class="separator:gac408b09a330749402d5d1fa1f5894dd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
  92. <tr class="memitem:gafe5079aa79038b0079fc09d5f0a8e667"><td class="memItemLeft" align="right" valign="top">HWND&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gafe5079aa79038b0079fc09d5f0a8e667">glfwGetWin32Window</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  93. <tr class="memdesc:gafe5079aa79038b0079fc09d5f0a8e667"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>HWND</code> of the specified window. <a href="#gafe5079aa79038b0079fc09d5f0a8e667">More...</a><br /></td></tr>
  94. <tr class="separator:gafe5079aa79038b0079fc09d5f0a8e667"><td class="memSeparator" colspan="2">&#160;</td></tr>
  95. <tr class="memitem:gadc4010d91d9cc1134d040eeb1202a143"><td class="memItemLeft" align="right" valign="top">HGLRC&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gadc4010d91d9cc1134d040eeb1202a143">glfwGetWGLContext</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  96. <tr class="memdesc:gadc4010d91d9cc1134d040eeb1202a143"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>HGLRC</code> of the specified window. <a href="#gadc4010d91d9cc1134d040eeb1202a143">More...</a><br /></td></tr>
  97. <tr class="separator:gadc4010d91d9cc1134d040eeb1202a143"><td class="memSeparator" colspan="2">&#160;</td></tr>
  98. <tr class="memitem:gaf22f429aec4b1aab316142d66d9be3e6"><td class="memItemLeft" align="right" valign="top">CGDirectDisplayID&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gaf22f429aec4b1aab316142d66d9be3e6">glfwGetCocoaMonitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  99. <tr class="memdesc:gaf22f429aec4b1aab316142d66d9be3e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>CGDirectDisplayID</code> of the specified monitor. <a href="#gaf22f429aec4b1aab316142d66d9be3e6">More...</a><br /></td></tr>
  100. <tr class="separator:gaf22f429aec4b1aab316142d66d9be3e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  101. <tr class="memitem:gac3ed9d495d0c2bb9652de5a50c648715"><td class="memItemLeft" align="right" valign="top">id&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gac3ed9d495d0c2bb9652de5a50c648715">glfwGetCocoaWindow</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  102. <tr class="memdesc:gac3ed9d495d0c2bb9652de5a50c648715"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>NSWindow</code> of the specified window. <a href="#gac3ed9d495d0c2bb9652de5a50c648715">More...</a><br /></td></tr>
  103. <tr class="separator:gac3ed9d495d0c2bb9652de5a50c648715"><td class="memSeparator" colspan="2">&#160;</td></tr>
  104. <tr class="memitem:ga559e002e3cd63c979881770cd4dc63bc"><td class="memItemLeft" align="right" valign="top">id&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga559e002e3cd63c979881770cd4dc63bc">glfwGetNSGLContext</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  105. <tr class="memdesc:ga559e002e3cd63c979881770cd4dc63bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>NSOpenGLContext</code> of the specified window. <a href="#ga559e002e3cd63c979881770cd4dc63bc">More...</a><br /></td></tr>
  106. <tr class="separator:ga559e002e3cd63c979881770cd4dc63bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
  107. <tr class="memitem:ga8519b66594ea3ef6eeafaa2e3ee37406"><td class="memItemLeft" align="right" valign="top">Display *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga8519b66594ea3ef6eeafaa2e3ee37406">glfwGetX11Display</a> (void)</td></tr>
  108. <tr class="memdesc:ga8519b66594ea3ef6eeafaa2e3ee37406"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>Display</code> used by GLFW. <a href="#ga8519b66594ea3ef6eeafaa2e3ee37406">More...</a><br /></td></tr>
  109. <tr class="separator:ga8519b66594ea3ef6eeafaa2e3ee37406"><td class="memSeparator" colspan="2">&#160;</td></tr>
  110. <tr class="memitem:ga088fbfa80f50569402b41be71ad66e40"><td class="memItemLeft" align="right" valign="top">RRCrtc&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga088fbfa80f50569402b41be71ad66e40">glfwGetX11Adapter</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  111. <tr class="memdesc:ga088fbfa80f50569402b41be71ad66e40"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>RRCrtc</code> of the specified monitor. <a href="#ga088fbfa80f50569402b41be71ad66e40">More...</a><br /></td></tr>
  112. <tr class="separator:ga088fbfa80f50569402b41be71ad66e40"><td class="memSeparator" colspan="2">&#160;</td></tr>
  113. <tr class="memitem:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="memItemLeft" align="right" valign="top">RROutput&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c">glfwGetX11Monitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  114. <tr class="memdesc:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>RROutput</code> of the specified monitor. <a href="#gab2f8cc043905e9fa9b12bfdbbcfe874c">More...</a><br /></td></tr>
  115. <tr class="separator:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  116. <tr class="memitem:ga90ca676322740842db446999a1b1f21d"><td class="memItemLeft" align="right" valign="top">Window&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga90ca676322740842db446999a1b1f21d">glfwGetX11Window</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  117. <tr class="memdesc:ga90ca676322740842db446999a1b1f21d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>Window</code> of the specified window. <a href="#ga90ca676322740842db446999a1b1f21d">More...</a><br /></td></tr>
  118. <tr class="separator:ga90ca676322740842db446999a1b1f21d"><td class="memSeparator" colspan="2">&#160;</td></tr>
  119. <tr class="memitem:ga62d884114b0abfcdc2930e89f20867e2"><td class="memItemLeft" align="right" valign="top">GLXContext&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga62d884114b0abfcdc2930e89f20867e2">glfwGetGLXContext</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  120. <tr class="memdesc:ga62d884114b0abfcdc2930e89f20867e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>GLXContext</code> of the specified window. <a href="#ga62d884114b0abfcdc2930e89f20867e2">More...</a><br /></td></tr>
  121. <tr class="separator:ga62d884114b0abfcdc2930e89f20867e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
  122. <tr class="memitem:ga1ed27b8766e859a21381e8f8ce18d049"><td class="memItemLeft" align="right" valign="top">GLXWindow&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga1ed27b8766e859a21381e8f8ce18d049">glfwGetGLXWindow</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  123. <tr class="memdesc:ga1ed27b8766e859a21381e8f8ce18d049"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>GLXWindow</code> of the specified window. <a href="#ga1ed27b8766e859a21381e8f8ce18d049">More...</a><br /></td></tr>
  124. <tr class="separator:ga1ed27b8766e859a21381e8f8ce18d049"><td class="memSeparator" colspan="2">&#160;</td></tr>
  125. <tr class="memitem:gaaf8118a3c877f3a6bc8e7a649519de5e"><td class="memItemLeft" align="right" valign="top">struct wl_display *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gaaf8118a3c877f3a6bc8e7a649519de5e">glfwGetWaylandDisplay</a> (void)</td></tr>
  126. <tr class="memdesc:gaaf8118a3c877f3a6bc8e7a649519de5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>struct wl_display*</code> used by GLFW. <a href="#gaaf8118a3c877f3a6bc8e7a649519de5e">More...</a><br /></td></tr>
  127. <tr class="separator:gaaf8118a3c877f3a6bc8e7a649519de5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
  128. <tr class="memitem:gab10427a667b6cd91eec7709f7a906bd3"><td class="memItemLeft" align="right" valign="top">struct wl_output *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gab10427a667b6cd91eec7709f7a906bd3">glfwGetWaylandMonitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  129. <tr class="memdesc:gab10427a667b6cd91eec7709f7a906bd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>struct wl_output*</code> of the specified monitor. <a href="#gab10427a667b6cd91eec7709f7a906bd3">More...</a><br /></td></tr>
  130. <tr class="separator:gab10427a667b6cd91eec7709f7a906bd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
  131. <tr class="memitem:ga4738d7aca4191363519a9a641c3ab64c"><td class="memItemLeft" align="right" valign="top">struct wl_surface *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga4738d7aca4191363519a9a641c3ab64c">glfwGetWaylandWindow</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  132. <tr class="memdesc:ga4738d7aca4191363519a9a641c3ab64c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the main <code>struct wl_surface*</code> of the specified window. <a href="#ga4738d7aca4191363519a9a641c3ab64c">More...</a><br /></td></tr>
  133. <tr class="separator:ga4738d7aca4191363519a9a641c3ab64c"><td class="memSeparator" colspan="2">&#160;</td></tr>
  134. <tr class="memitem:ga40dd05325d9813fa67d61328c51d2930"><td class="memItemLeft" align="right" valign="top">MirConnection *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga40dd05325d9813fa67d61328c51d2930">glfwGetMirDisplay</a> (void)</td></tr>
  135. <tr class="memdesc:ga40dd05325d9813fa67d61328c51d2930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>MirConnection*</code> used by GLFW. <a href="#ga40dd05325d9813fa67d61328c51d2930">More...</a><br /></td></tr>
  136. <tr class="separator:ga40dd05325d9813fa67d61328c51d2930"><td class="memSeparator" colspan="2">&#160;</td></tr>
  137. <tr class="memitem:gae0941c11dc8f01aeb7cbb563f5cd930b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gae0941c11dc8f01aeb7cbb563f5cd930b">glfwGetMirMonitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr>
  138. <tr class="memdesc:gae0941c11dc8f01aeb7cbb563f5cd930b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Mir output ID of the specified monitor. <a href="#gae0941c11dc8f01aeb7cbb563f5cd930b">More...</a><br /></td></tr>
  139. <tr class="separator:gae0941c11dc8f01aeb7cbb563f5cd930b"><td class="memSeparator" colspan="2">&#160;</td></tr>
  140. <tr class="memitem:ga964d52bb7932216c379762eef1ea9b05"><td class="memItemLeft" align="right" valign="top">MirSurface *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga964d52bb7932216c379762eef1ea9b05">glfwGetMirWindow</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  141. <tr class="memdesc:ga964d52bb7932216c379762eef1ea9b05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>MirSurface*</code> of the specified window. <a href="#ga964d52bb7932216c379762eef1ea9b05">More...</a><br /></td></tr>
  142. <tr class="separator:ga964d52bb7932216c379762eef1ea9b05"><td class="memSeparator" colspan="2">&#160;</td></tr>
  143. <tr class="memitem:ga1cd8d973f47aacb5532d368147cc3138"><td class="memItemLeft" align="right" valign="top">EGLDisplay&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga1cd8d973f47aacb5532d368147cc3138">glfwGetEGLDisplay</a> (void)</td></tr>
  144. <tr class="memdesc:ga1cd8d973f47aacb5532d368147cc3138"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>EGLDisplay</code> used by GLFW. <a href="#ga1cd8d973f47aacb5532d368147cc3138">More...</a><br /></td></tr>
  145. <tr class="separator:ga1cd8d973f47aacb5532d368147cc3138"><td class="memSeparator" colspan="2">&#160;</td></tr>
  146. <tr class="memitem:ga671c5072becd085f4ab5771a9c8efcf1"><td class="memItemLeft" align="right" valign="top">EGLContext&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga671c5072becd085f4ab5771a9c8efcf1">glfwGetEGLContext</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  147. <tr class="memdesc:ga671c5072becd085f4ab5771a9c8efcf1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>EGLContext</code> of the specified window. <a href="#ga671c5072becd085f4ab5771a9c8efcf1">More...</a><br /></td></tr>
  148. <tr class="separator:ga671c5072becd085f4ab5771a9c8efcf1"><td class="memSeparator" colspan="2">&#160;</td></tr>
  149. <tr class="memitem:ga2199b36117a6a695fec8441d8052eee6"><td class="memItemLeft" align="right" valign="top">EGLSurface&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga2199b36117a6a695fec8441d8052eee6">glfwGetEGLSurface</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr>
  150. <tr class="memdesc:ga2199b36117a6a695fec8441d8052eee6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the <code>EGLSurface</code> of the specified window. <a href="#ga2199b36117a6a695fec8441d8052eee6">More...</a><br /></td></tr>
  151. <tr class="separator:ga2199b36117a6a695fec8441d8052eee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
  152. </table>
  153. <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
  154. <p><b>By using the native access functions you assert that you know what you're doing and how to fix problems caused by using them. If you don't, you shouldn't be using them.</b></p>
  155. <p>Before the inclusion of <a class="el" href="glfw3native_8h.html">glfw3native.h</a>, you may define exactly one window system API macro and zero or more context creation API macros.</p>
  156. <p>The chosen backends must match those the library was compiled for. Failure to do this will cause a link-time error.</p>
  157. <p>The available window API macros are:</p><ul>
  158. <li><code>GLFW_EXPOSE_NATIVE_WIN32</code></li>
  159. <li><code>GLFW_EXPOSE_NATIVE_COCOA</code></li>
  160. <li><code>GLFW_EXPOSE_NATIVE_X11</code></li>
  161. <li><code>GLFW_EXPOSE_NATIVE_WAYLAND</code></li>
  162. <li><code>GLFW_EXPOSE_NATIVE_MIR</code></li>
  163. </ul>
  164. <p>The available context API macros are:</p><ul>
  165. <li><code>GLFW_EXPOSE_NATIVE_WGL</code></li>
  166. <li><code>GLFW_EXPOSE_NATIVE_NSGL</code></li>
  167. <li><code>GLFW_EXPOSE_NATIVE_GLX</code></li>
  168. <li><code>GLFW_EXPOSE_NATIVE_EGL</code></li>
  169. </ul>
  170. <p>These macros select which of the native access functions that are declared and which platform-specific headers to include. It is then up your (by definition platform-specific) code to handle which of these should be defined. </p>
  171. <h2 class="groupheader">Function Documentation</h2>
  172. <a class="anchor" id="gaf22f429aec4b1aab316142d66d9be3e6"></a>
  173. <div class="memitem">
  174. <div class="memproto">
  175. <table class="memname">
  176. <tr>
  177. <td class="memname">CGDirectDisplayID glfwGetCocoaMonitor </td>
  178. <td>(</td>
  179. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  180. <td class="paramname"><em>monitor</em></td><td>)</td>
  181. <td></td>
  182. </tr>
  183. </table>
  184. </div><div class="memdoc">
  185. <dl class="section return"><dt>Returns</dt><dd>The <code>CGDirectDisplayID</code> of the specified monitor, or <code>kCGNullDirectDisplay</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  186. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  187. <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
  188. </div>
  189. </div>
  190. <a class="anchor" id="gac3ed9d495d0c2bb9652de5a50c648715"></a>
  191. <div class="memitem">
  192. <div class="memproto">
  193. <table class="memname">
  194. <tr>
  195. <td class="memname">id glfwGetCocoaWindow </td>
  196. <td>(</td>
  197. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  198. <td class="paramname"><em>window</em></td><td>)</td>
  199. <td></td>
  200. </tr>
  201. </table>
  202. </div><div class="memdoc">
  203. <dl class="section return"><dt>Returns</dt><dd>The <code>NSWindow</code> of the specified window, or <code>nil</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  204. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  205. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  206. </div>
  207. </div>
  208. <a class="anchor" id="ga671c5072becd085f4ab5771a9c8efcf1"></a>
  209. <div class="memitem">
  210. <div class="memproto">
  211. <table class="memname">
  212. <tr>
  213. <td class="memname">EGLContext glfwGetEGLContext </td>
  214. <td>(</td>
  215. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  216. <td class="paramname"><em>window</em></td><td>)</td>
  217. <td></td>
  218. </tr>
  219. </table>
  220. </div><div class="memdoc">
  221. <dl class="section return"><dt>Returns</dt><dd>The <code>EGLContext</code> of the specified window, or <code>EGL_NO_CONTEXT</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  222. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  223. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  224. </div>
  225. </div>
  226. <a class="anchor" id="ga1cd8d973f47aacb5532d368147cc3138"></a>
  227. <div class="memitem">
  228. <div class="memproto">
  229. <table class="memname">
  230. <tr>
  231. <td class="memname">EGLDisplay glfwGetEGLDisplay </td>
  232. <td>(</td>
  233. <td class="paramtype">void&#160;</td>
  234. <td class="paramname"></td><td>)</td>
  235. <td></td>
  236. </tr>
  237. </table>
  238. </div><div class="memdoc">
  239. <dl class="section return"><dt>Returns</dt><dd>The <code>EGLDisplay</code> used by GLFW, or <code>EGL_NO_DISPLAY</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  240. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  241. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  242. </div>
  243. </div>
  244. <a class="anchor" id="ga2199b36117a6a695fec8441d8052eee6"></a>
  245. <div class="memitem">
  246. <div class="memproto">
  247. <table class="memname">
  248. <tr>
  249. <td class="memname">EGLSurface glfwGetEGLSurface </td>
  250. <td>(</td>
  251. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  252. <td class="paramname"><em>window</em></td><td>)</td>
  253. <td></td>
  254. </tr>
  255. </table>
  256. </div><div class="memdoc">
  257. <dl class="section return"><dt>Returns</dt><dd>The <code>EGLSurface</code> of the specified window, or <code>EGL_NO_SURFACE</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  258. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  259. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  260. </div>
  261. </div>
  262. <a class="anchor" id="ga62d884114b0abfcdc2930e89f20867e2"></a>
  263. <div class="memitem">
  264. <div class="memproto">
  265. <table class="memname">
  266. <tr>
  267. <td class="memname">GLXContext glfwGetGLXContext </td>
  268. <td>(</td>
  269. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  270. <td class="paramname"><em>window</em></td><td>)</td>
  271. <td></td>
  272. </tr>
  273. </table>
  274. </div><div class="memdoc">
  275. <dl class="section return"><dt>Returns</dt><dd>The <code>GLXContext</code> of the specified window, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  276. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  277. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  278. </div>
  279. </div>
  280. <a class="anchor" id="ga1ed27b8766e859a21381e8f8ce18d049"></a>
  281. <div class="memitem">
  282. <div class="memproto">
  283. <table class="memname">
  284. <tr>
  285. <td class="memname">GLXWindow glfwGetGLXWindow </td>
  286. <td>(</td>
  287. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  288. <td class="paramname"><em>window</em></td><td>)</td>
  289. <td></td>
  290. </tr>
  291. </table>
  292. </div><div class="memdoc">
  293. <dl class="section return"><dt>Returns</dt><dd>The <code>GLXWindow</code> of the specified window, or <code>None</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  294. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  295. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  296. </div>
  297. </div>
  298. <a class="anchor" id="ga40dd05325d9813fa67d61328c51d2930"></a>
  299. <div class="memitem">
  300. <div class="memproto">
  301. <table class="memname">
  302. <tr>
  303. <td class="memname">MirConnection* glfwGetMirDisplay </td>
  304. <td>(</td>
  305. <td class="paramtype">void&#160;</td>
  306. <td class="paramname"></td><td>)</td>
  307. <td></td>
  308. </tr>
  309. </table>
  310. </div><div class="memdoc">
  311. <dl class="section return"><dt>Returns</dt><dd>The <code>MirConnection*</code> used by GLFW, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  312. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  313. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  314. </div>
  315. </div>
  316. <a class="anchor" id="gae0941c11dc8f01aeb7cbb563f5cd930b"></a>
  317. <div class="memitem">
  318. <div class="memproto">
  319. <table class="memname">
  320. <tr>
  321. <td class="memname">int glfwGetMirMonitor </td>
  322. <td>(</td>
  323. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  324. <td class="paramname"><em>monitor</em></td><td>)</td>
  325. <td></td>
  326. </tr>
  327. </table>
  328. </div><div class="memdoc">
  329. <dl class="section return"><dt>Returns</dt><dd>The Mir output ID of the specified monitor, or zero if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  330. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  331. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  332. </div>
  333. </div>
  334. <a class="anchor" id="ga964d52bb7932216c379762eef1ea9b05"></a>
  335. <div class="memitem">
  336. <div class="memproto">
  337. <table class="memname">
  338. <tr>
  339. <td class="memname">MirSurface* glfwGetMirWindow </td>
  340. <td>(</td>
  341. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  342. <td class="paramname"><em>window</em></td><td>)</td>
  343. <td></td>
  344. </tr>
  345. </table>
  346. </div><div class="memdoc">
  347. <dl class="section return"><dt>Returns</dt><dd>The <code>MirSurface*</code> of the specified window, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  348. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  349. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  350. </div>
  351. </div>
  352. <a class="anchor" id="ga559e002e3cd63c979881770cd4dc63bc"></a>
  353. <div class="memitem">
  354. <div class="memproto">
  355. <table class="memname">
  356. <tr>
  357. <td class="memname">id glfwGetNSGLContext </td>
  358. <td>(</td>
  359. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  360. <td class="paramname"><em>window</em></td><td>)</td>
  361. <td></td>
  362. </tr>
  363. </table>
  364. </div><div class="memdoc">
  365. <dl class="section return"><dt>Returns</dt><dd>The <code>NSOpenGLContext</code> of the specified window, or <code>nil</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  366. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  367. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  368. </div>
  369. </div>
  370. <a class="anchor" id="gaaf8118a3c877f3a6bc8e7a649519de5e"></a>
  371. <div class="memitem">
  372. <div class="memproto">
  373. <table class="memname">
  374. <tr>
  375. <td class="memname">struct wl_display* glfwGetWaylandDisplay </td>
  376. <td>(</td>
  377. <td class="paramtype">void&#160;</td>
  378. <td class="paramname"></td><td>)</td>
  379. <td></td>
  380. </tr>
  381. </table>
  382. </div><div class="memdoc">
  383. <dl class="section return"><dt>Returns</dt><dd>The <code>struct wl_display*</code> used by GLFW, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  384. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  385. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  386. </div>
  387. </div>
  388. <a class="anchor" id="gab10427a667b6cd91eec7709f7a906bd3"></a>
  389. <div class="memitem">
  390. <div class="memproto">
  391. <table class="memname">
  392. <tr>
  393. <td class="memname">struct wl_output* glfwGetWaylandMonitor </td>
  394. <td>(</td>
  395. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  396. <td class="paramname"><em>monitor</em></td><td>)</td>
  397. <td></td>
  398. </tr>
  399. </table>
  400. </div><div class="memdoc">
  401. <dl class="section return"><dt>Returns</dt><dd>The <code>struct wl_output*</code> of the specified monitor, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  402. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  403. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  404. </div>
  405. </div>
  406. <a class="anchor" id="ga4738d7aca4191363519a9a641c3ab64c"></a>
  407. <div class="memitem">
  408. <div class="memproto">
  409. <table class="memname">
  410. <tr>
  411. <td class="memname">struct wl_surface* glfwGetWaylandWindow </td>
  412. <td>(</td>
  413. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  414. <td class="paramname"><em>window</em></td><td>)</td>
  415. <td></td>
  416. </tr>
  417. </table>
  418. </div><div class="memdoc">
  419. <dl class="section return"><dt>Returns</dt><dd>The main <code>struct wl_surface*</code> of the specified window, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  420. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  421. <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
  422. </div>
  423. </div>
  424. <a class="anchor" id="gadc4010d91d9cc1134d040eeb1202a143"></a>
  425. <div class="memitem">
  426. <div class="memproto">
  427. <table class="memname">
  428. <tr>
  429. <td class="memname">HGLRC glfwGetWGLContext </td>
  430. <td>(</td>
  431. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  432. <td class="paramname"><em>window</em></td><td>)</td>
  433. <td></td>
  434. </tr>
  435. </table>
  436. </div><div class="memdoc">
  437. <dl class="section return"><dt>Returns</dt><dd>The <code>HGLRC</code> of the specified window, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  438. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  439. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  440. </div>
  441. </div>
  442. <a class="anchor" id="gac84f63a3f9db145b9435e5e0dbc4183d"></a>
  443. <div class="memitem">
  444. <div class="memproto">
  445. <table class="memname">
  446. <tr>
  447. <td class="memname">const char* glfwGetWin32Adapter </td>
  448. <td>(</td>
  449. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  450. <td class="paramname"><em>monitor</em></td><td>)</td>
  451. <td></td>
  452. </tr>
  453. </table>
  454. </div><div class="memdoc">
  455. <dl class="section return"><dt>Returns</dt><dd>The UTF-8 encoded adapter device name (for example <code>\\.\DISPLAY1</code>) of the specified monitor, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  456. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  457. <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
  458. </div>
  459. </div>
  460. <a class="anchor" id="gac408b09a330749402d5d1fa1f5894dd9"></a>
  461. <div class="memitem">
  462. <div class="memproto">
  463. <table class="memname">
  464. <tr>
  465. <td class="memname">const char* glfwGetWin32Monitor </td>
  466. <td>(</td>
  467. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  468. <td class="paramname"><em>monitor</em></td><td>)</td>
  469. <td></td>
  470. </tr>
  471. </table>
  472. </div><div class="memdoc">
  473. <dl class="section return"><dt>Returns</dt><dd>The UTF-8 encoded display device name (for example <code>\\.\DISPLAY1\Monitor0</code>) of the specified monitor, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  474. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  475. <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
  476. </div>
  477. </div>
  478. <a class="anchor" id="gafe5079aa79038b0079fc09d5f0a8e667"></a>
  479. <div class="memitem">
  480. <div class="memproto">
  481. <table class="memname">
  482. <tr>
  483. <td class="memname">HWND glfwGetWin32Window </td>
  484. <td>(</td>
  485. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  486. <td class="paramname"><em>window</em></td><td>)</td>
  487. <td></td>
  488. </tr>
  489. </table>
  490. </div><div class="memdoc">
  491. <dl class="section return"><dt>Returns</dt><dd>The <code>HWND</code> of the specified window, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  492. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  493. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  494. </div>
  495. </div>
  496. <a class="anchor" id="ga088fbfa80f50569402b41be71ad66e40"></a>
  497. <div class="memitem">
  498. <div class="memproto">
  499. <table class="memname">
  500. <tr>
  501. <td class="memname">RRCrtc glfwGetX11Adapter </td>
  502. <td>(</td>
  503. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  504. <td class="paramname"><em>monitor</em></td><td>)</td>
  505. <td></td>
  506. </tr>
  507. </table>
  508. </div><div class="memdoc">
  509. <dl class="section return"><dt>Returns</dt><dd>The <code>RRCrtc</code> of the specified monitor, or <code>None</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  510. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  511. <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
  512. </div>
  513. </div>
  514. <a class="anchor" id="ga8519b66594ea3ef6eeafaa2e3ee37406"></a>
  515. <div class="memitem">
  516. <div class="memproto">
  517. <table class="memname">
  518. <tr>
  519. <td class="memname">Display* glfwGetX11Display </td>
  520. <td>(</td>
  521. <td class="paramtype">void&#160;</td>
  522. <td class="paramname"></td><td>)</td>
  523. <td></td>
  524. </tr>
  525. </table>
  526. </div><div class="memdoc">
  527. <dl class="section return"><dt>Returns</dt><dd>The <code>Display</code> used by GLFW, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  528. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  529. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  530. </div>
  531. </div>
  532. <a class="anchor" id="gab2f8cc043905e9fa9b12bfdbbcfe874c"></a>
  533. <div class="memitem">
  534. <div class="memproto">
  535. <table class="memname">
  536. <tr>
  537. <td class="memname">RROutput glfwGetX11Monitor </td>
  538. <td>(</td>
  539. <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *&#160;</td>
  540. <td class="paramname"><em>monitor</em></td><td>)</td>
  541. <td></td>
  542. </tr>
  543. </table>
  544. </div><div class="memdoc">
  545. <dl class="section return"><dt>Returns</dt><dd>The <code>RROutput</code> of the specified monitor, or <code>None</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  546. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  547. <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
  548. </div>
  549. </div>
  550. <a class="anchor" id="ga90ca676322740842db446999a1b1f21d"></a>
  551. <div class="memitem">
  552. <div class="memproto">
  553. <table class="memname">
  554. <tr>
  555. <td class="memname">Window glfwGetX11Window </td>
  556. <td>(</td>
  557. <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *&#160;</td>
  558. <td class="paramname"><em>window</em></td><td>)</td>
  559. <td></td>
  560. </tr>
  561. </table>
  562. </div><div class="memdoc">
  563. <dl class="section return"><dt>Returns</dt><dd>The <code>Window</code> of the specified window, or <code>None</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl>
  564. <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
  565. <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
  566. </div>
  567. </div>
  568. </div><!-- contents -->
  569. <address class="footer">
  570. <p>
  571. Last update on Thu Aug 18 2016 for GLFW 3.2.1
  572. </p>
  573. </address>
  574. </body>
  575. </html>