diff options
Diffstat (limited to 'contrib/glfw/glfw-3.3.5.bin.WIN64/docs/html/group__native.html')
| -rw-r--r-- | contrib/glfw/glfw-3.3.5.bin.WIN64/docs/html/group__native.html | 798 |
1 files changed, 798 insertions, 0 deletions
diff --git a/contrib/glfw/glfw-3.3.5.bin.WIN64/docs/html/group__native.html b/contrib/glfw/glfw-3.3.5.bin.WIN64/docs/html/group__native.html new file mode 100644 index 0000000..2d88771 --- /dev/null +++ b/contrib/glfw/glfw-3.3.5.bin.WIN64/docs/html/group__native.html | |||
| @@ -0,0 +1,798 @@ | |||
| 1 | <!DOCTYPE html> | ||
| 2 | <html lang="en"> | ||
| 3 | <head> | ||
| 4 | <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> | ||
| 5 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
| 6 | <meta http-equiv="X-UA-Compatible" content="IE=9"/> | ||
| 7 | <meta name="generator" content="Doxygen 1.9.2"/> | ||
| 8 | <title>GLFW: Native access</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 | <link href="extra.css" rel="stylesheet" type="text/css"/> | ||
| 17 | </head> | ||
| 18 | <body> | ||
| 19 | <div id="top"><!-- do not remove this div, it is closed by doxygen! --> | ||
| 20 | <div id="titlearea"> | ||
| 21 | <div class="glfwheader"> | ||
| 22 | <a href="https://www.glfw.org/" id="glfwhome">GLFW</a> | ||
| 23 | <ul class="glfwnavbar"> | ||
| 24 | <li><a href="https://www.glfw.org/documentation.html">Documentation</a></li> | ||
| 25 | <li><a href="https://www.glfw.org/download.html">Download</a></li> | ||
| 26 | <li><a href="https://www.glfw.org/community.html">Community</a></li> | ||
| 27 | </ul> | ||
| 28 | </div> | ||
| 29 | </div> | ||
| 30 | <!-- end header part --> | ||
| 31 | <!-- Generated by Doxygen 1.9.2 --> | ||
| 32 | <script type="text/javascript"> | ||
| 33 | /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
| 34 | var searchBox = new SearchBox("searchBox", "search",'Search','.html'); | ||
| 35 | /* @license-end */ | ||
| 36 | </script> | ||
| 37 | <script type="text/javascript" src="menudata.js"></script> | ||
| 38 | <script type="text/javascript" src="menu.js"></script> | ||
| 39 | <script type="text/javascript"> | ||
| 40 | /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */ | ||
| 41 | $(function() { | ||
| 42 | initMenu('',true,false,'search.php','Search'); | ||
| 43 | $(document).ready(function() { init_search(); }); | ||
| 44 | }); | ||
| 45 | /* @license-end */ | ||
| 46 | </script> | ||
| 47 | <div id="main-nav"></div> | ||
| 48 | </div><!-- top --> | ||
| 49 | <!-- window showing the filter options --> | ||
| 50 | <div id="MSearchSelectWindow" | ||
| 51 | onmouseover="return searchBox.OnSearchSelectShow()" | ||
| 52 | onmouseout="return searchBox.OnSearchSelectHide()" | ||
| 53 | onkeydown="return searchBox.OnSearchSelectKey(event)"> | ||
| 54 | </div> | ||
| 55 | |||
| 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 | |||
| 63 | <div class="header"> | ||
| 64 | <div class="summary"> | ||
| 65 | <a href="#func-members">Functions</a> </div> | ||
| 66 | <div class="headertitle"><div class="title">Native access</div></div> | ||
| 67 | </div><!--header--> | ||
| 68 | <div class="contents"> | ||
| 69 | <a name="details" id="details"></a><h2 class="groupheader">Description</h2> | ||
| 70 | <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> | ||
| 71 | <p >Before the inclusion of <a class="el" href="glfw3native_8h.html">glfw3native.h</a>, you may define zero or more window system API macro and zero or more context creation API macros.</p> | ||
| 72 | <p >The chosen backends must match those the library was compiled for. Failure to do this will cause a link-time error.</p> | ||
| 73 | <p >The available window API macros are:</p><ul> | ||
| 74 | <li><code>GLFW_EXPOSE_NATIVE_WIN32</code></li> | ||
| 75 | <li><code>GLFW_EXPOSE_NATIVE_COCOA</code></li> | ||
| 76 | <li><code>GLFW_EXPOSE_NATIVE_X11</code></li> | ||
| 77 | <li><code>GLFW_EXPOSE_NATIVE_WAYLAND</code></li> | ||
| 78 | </ul> | ||
| 79 | <p >The available context API macros are:</p><ul> | ||
| 80 | <li><code>GLFW_EXPOSE_NATIVE_WGL</code></li> | ||
| 81 | <li><code>GLFW_EXPOSE_NATIVE_NSGL</code></li> | ||
| 82 | <li><code>GLFW_EXPOSE_NATIVE_GLX</code></li> | ||
| 83 | <li><code>GLFW_EXPOSE_NATIVE_EGL</code></li> | ||
| 84 | <li><code>GLFW_EXPOSE_NATIVE_OSMESA</code></li> | ||
| 85 | </ul> | ||
| 86 | <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> | ||
| 87 | <table class="memberdecls"> | ||
| 88 | <tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a> | ||
| 89 | Functions</h2></td></tr> | ||
| 90 | <tr class="memitem:gad4d3e9242536c0ba6be88a98f4c73a41"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gad4d3e9242536c0ba6be88a98f4c73a41">glfwGetWin32Adapter</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr> | ||
| 91 | <tr class="memdesc:gad4d3e9242536c0ba6be88a98f4c73a41"><td class="mdescLeft"> </td><td class="mdescRight">Returns the adapter device name of the specified monitor. <a href="group__native.html#gad4d3e9242536c0ba6be88a98f4c73a41">More...</a><br /></td></tr> | ||
| 92 | <tr class="separator:gad4d3e9242536c0ba6be88a98f4c73a41"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 93 | <tr class="memitem:gac845f7dbe4c1d7fdd682a3c6fdae6766"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gac845f7dbe4c1d7fdd682a3c6fdae6766">glfwGetWin32Monitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr> | ||
| 94 | <tr class="memdesc:gac845f7dbe4c1d7fdd682a3c6fdae6766"><td class="mdescLeft"> </td><td class="mdescRight">Returns the display device name of the specified monitor. <a href="group__native.html#gac845f7dbe4c1d7fdd682a3c6fdae6766">More...</a><br /></td></tr> | ||
| 95 | <tr class="separator:gac845f7dbe4c1d7fdd682a3c6fdae6766"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 96 | <tr class="memitem:gafe5079aa79038b0079fc09d5f0a8e667"><td class="memItemLeft" align="right" valign="top">HWND </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> | ||
| 97 | <tr class="memdesc:gafe5079aa79038b0079fc09d5f0a8e667"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>HWND</code> of the specified window. <a href="group__native.html#gafe5079aa79038b0079fc09d5f0a8e667">More...</a><br /></td></tr> | ||
| 98 | <tr class="separator:gafe5079aa79038b0079fc09d5f0a8e667"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 99 | <tr class="memitem:gadc4010d91d9cc1134d040eeb1202a143"><td class="memItemLeft" align="right" valign="top">HGLRC </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> | ||
| 100 | <tr class="memdesc:gadc4010d91d9cc1134d040eeb1202a143"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>HGLRC</code> of the specified window. <a href="group__native.html#gadc4010d91d9cc1134d040eeb1202a143">More...</a><br /></td></tr> | ||
| 101 | <tr class="separator:gadc4010d91d9cc1134d040eeb1202a143"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 102 | <tr class="memitem:gaf22f429aec4b1aab316142d66d9be3e6"><td class="memItemLeft" align="right" valign="top">CGDirectDisplayID </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> | ||
| 103 | <tr class="memdesc:gaf22f429aec4b1aab316142d66d9be3e6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>CGDirectDisplayID</code> of the specified monitor. <a href="group__native.html#gaf22f429aec4b1aab316142d66d9be3e6">More...</a><br /></td></tr> | ||
| 104 | <tr class="separator:gaf22f429aec4b1aab316142d66d9be3e6"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 105 | <tr class="memitem:gac3ed9d495d0c2bb9652de5a50c648715"><td class="memItemLeft" align="right" valign="top">id </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> | ||
| 106 | <tr class="memdesc:gac3ed9d495d0c2bb9652de5a50c648715"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>NSWindow</code> of the specified window. <a href="group__native.html#gac3ed9d495d0c2bb9652de5a50c648715">More...</a><br /></td></tr> | ||
| 107 | <tr class="separator:gac3ed9d495d0c2bb9652de5a50c648715"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 108 | <tr class="memitem:ga559e002e3cd63c979881770cd4dc63bc"><td class="memItemLeft" align="right" valign="top">id </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> | ||
| 109 | <tr class="memdesc:ga559e002e3cd63c979881770cd4dc63bc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>NSOpenGLContext</code> of the specified window. <a href="group__native.html#ga559e002e3cd63c979881770cd4dc63bc">More...</a><br /></td></tr> | ||
| 110 | <tr class="separator:ga559e002e3cd63c979881770cd4dc63bc"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 111 | <tr class="memitem:ga6e7822385cc8a1cc3b18f60352830189"><td class="memItemLeft" align="right" valign="top">Display * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga6e7822385cc8a1cc3b18f60352830189">glfwGetX11Display</a> (void)</td></tr> | ||
| 112 | <tr class="memdesc:ga6e7822385cc8a1cc3b18f60352830189"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>Display</code> used by GLFW. <a href="group__native.html#ga6e7822385cc8a1cc3b18f60352830189">More...</a><br /></td></tr> | ||
| 113 | <tr class="separator:ga6e7822385cc8a1cc3b18f60352830189"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 114 | <tr class="memitem:ga088fbfa80f50569402b41be71ad66e40"><td class="memItemLeft" align="right" valign="top">RRCrtc </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> | ||
| 115 | <tr class="memdesc:ga088fbfa80f50569402b41be71ad66e40"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>RRCrtc</code> of the specified monitor. <a href="group__native.html#ga088fbfa80f50569402b41be71ad66e40">More...</a><br /></td></tr> | ||
| 116 | <tr class="separator:ga088fbfa80f50569402b41be71ad66e40"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 117 | <tr class="memitem:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="memItemLeft" align="right" valign="top">RROutput </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> | ||
| 118 | <tr class="memdesc:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>RROutput</code> of the specified monitor. <a href="group__native.html#gab2f8cc043905e9fa9b12bfdbbcfe874c">More...</a><br /></td></tr> | ||
| 119 | <tr class="separator:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 120 | <tr class="memitem:ga90ca676322740842db446999a1b1f21d"><td class="memItemLeft" align="right" valign="top">Window </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> | ||
| 121 | <tr class="memdesc:ga90ca676322740842db446999a1b1f21d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>Window</code> of the specified window. <a href="group__native.html#ga90ca676322740842db446999a1b1f21d">More...</a><br /></td></tr> | ||
| 122 | <tr class="separator:ga90ca676322740842db446999a1b1f21d"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 123 | <tr class="memitem:ga55f879ab02d93367f966186b6f0133f7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga55f879ab02d93367f966186b6f0133f7">glfwSetX11SelectionString</a> (const char *string)</td></tr> | ||
| 124 | <tr class="memdesc:ga55f879ab02d93367f966186b6f0133f7"><td class="mdescLeft"> </td><td class="mdescRight">Sets the current primary selection to the specified string. <a href="group__native.html#ga55f879ab02d93367f966186b6f0133f7">More...</a><br /></td></tr> | ||
| 125 | <tr class="separator:ga55f879ab02d93367f966186b6f0133f7"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 126 | <tr class="memitem:gae084ef64dc0db140b455b1427256d3f7"><td class="memItemLeft" align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gae084ef64dc0db140b455b1427256d3f7">glfwGetX11SelectionString</a> (void)</td></tr> | ||
| 127 | <tr class="memdesc:gae084ef64dc0db140b455b1427256d3f7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the contents of the current primary selection as a string. <a href="group__native.html#gae084ef64dc0db140b455b1427256d3f7">More...</a><br /></td></tr> | ||
| 128 | <tr class="separator:gae084ef64dc0db140b455b1427256d3f7"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 129 | <tr class="memitem:ga62d884114b0abfcdc2930e89f20867e2"><td class="memItemLeft" align="right" valign="top">GLXContext </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> | ||
| 130 | <tr class="memdesc:ga62d884114b0abfcdc2930e89f20867e2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>GLXContext</code> of the specified window. <a href="group__native.html#ga62d884114b0abfcdc2930e89f20867e2">More...</a><br /></td></tr> | ||
| 131 | <tr class="separator:ga62d884114b0abfcdc2930e89f20867e2"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 132 | <tr class="memitem:ga1ed27b8766e859a21381e8f8ce18d049"><td class="memItemLeft" align="right" valign="top">GLXWindow </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> | ||
| 133 | <tr class="memdesc:ga1ed27b8766e859a21381e8f8ce18d049"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>GLXWindow</code> of the specified window. <a href="group__native.html#ga1ed27b8766e859a21381e8f8ce18d049">More...</a><br /></td></tr> | ||
| 134 | <tr class="separator:ga1ed27b8766e859a21381e8f8ce18d049"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 135 | <tr class="memitem:gacbe11f93ce20621de82989bbba94e62a"><td class="memItemLeft" align="right" valign="top">struct wl_display * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#gacbe11f93ce20621de82989bbba94e62a">glfwGetWaylandDisplay</a> (void)</td></tr> | ||
| 136 | <tr class="memdesc:gacbe11f93ce20621de82989bbba94e62a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>struct wl_display*</code> used by GLFW. <a href="group__native.html#gacbe11f93ce20621de82989bbba94e62a">More...</a><br /></td></tr> | ||
| 137 | <tr class="separator:gacbe11f93ce20621de82989bbba94e62a"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 138 | <tr class="memitem:ga4f16066bd4c59e2f99418adfcb43dd16"><td class="memItemLeft" align="right" valign="top">struct wl_output * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga4f16066bd4c59e2f99418adfcb43dd16">glfwGetWaylandMonitor</a> (<a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> *monitor)</td></tr> | ||
| 139 | <tr class="memdesc:ga4f16066bd4c59e2f99418adfcb43dd16"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>struct wl_output*</code> of the specified monitor. <a href="group__native.html#ga4f16066bd4c59e2f99418adfcb43dd16">More...</a><br /></td></tr> | ||
| 140 | <tr class="separator:ga4f16066bd4c59e2f99418adfcb43dd16"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 141 | <tr class="memitem:ga5c597f2841229d9626f0811cca41ceb3"><td class="memItemLeft" align="right" valign="top">struct wl_surface * </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga5c597f2841229d9626f0811cca41ceb3">glfwGetWaylandWindow</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr> | ||
| 142 | <tr class="memdesc:ga5c597f2841229d9626f0811cca41ceb3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the main <code>struct wl_surface*</code> of the specified window. <a href="group__native.html#ga5c597f2841229d9626f0811cca41ceb3">More...</a><br /></td></tr> | ||
| 143 | <tr class="separator:ga5c597f2841229d9626f0811cca41ceb3"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 144 | <tr class="memitem:ga1cd8d973f47aacb5532d368147cc3138"><td class="memItemLeft" align="right" valign="top">EGLDisplay </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga1cd8d973f47aacb5532d368147cc3138">glfwGetEGLDisplay</a> (void)</td></tr> | ||
| 145 | <tr class="memdesc:ga1cd8d973f47aacb5532d368147cc3138"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>EGLDisplay</code> used by GLFW. <a href="group__native.html#ga1cd8d973f47aacb5532d368147cc3138">More...</a><br /></td></tr> | ||
| 146 | <tr class="separator:ga1cd8d973f47aacb5532d368147cc3138"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 147 | <tr class="memitem:ga671c5072becd085f4ab5771a9c8efcf1"><td class="memItemLeft" align="right" valign="top">EGLContext </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> | ||
| 148 | <tr class="memdesc:ga671c5072becd085f4ab5771a9c8efcf1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>EGLContext</code> of the specified window. <a href="group__native.html#ga671c5072becd085f4ab5771a9c8efcf1">More...</a><br /></td></tr> | ||
| 149 | <tr class="separator:ga671c5072becd085f4ab5771a9c8efcf1"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 150 | <tr class="memitem:ga2199b36117a6a695fec8441d8052eee6"><td class="memItemLeft" align="right" valign="top">EGLSurface </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> | ||
| 151 | <tr class="memdesc:ga2199b36117a6a695fec8441d8052eee6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>EGLSurface</code> of the specified window. <a href="group__native.html#ga2199b36117a6a695fec8441d8052eee6">More...</a><br /></td></tr> | ||
| 152 | <tr class="separator:ga2199b36117a6a695fec8441d8052eee6"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 153 | <tr class="memitem:ga3b36e3e3dcf308b776427b6bd73cc132"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga3b36e3e3dcf308b776427b6bd73cc132">glfwGetOSMesaColorBuffer</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window, int *width, int *height, int *format, void **buffer)</td></tr> | ||
| 154 | <tr class="memdesc:ga3b36e3e3dcf308b776427b6bd73cc132"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the color buffer associated with the specified window. <a href="group__native.html#ga3b36e3e3dcf308b776427b6bd73cc132">More...</a><br /></td></tr> | ||
| 155 | <tr class="separator:ga3b36e3e3dcf308b776427b6bd73cc132"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 156 | <tr class="memitem:ga6b64039ffc88a7a2f57f0956c0c75d53"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga6b64039ffc88a7a2f57f0956c0c75d53">glfwGetOSMesaDepthBuffer</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window, int *width, int *height, int *bytesPerValue, void **buffer)</td></tr> | ||
| 157 | <tr class="memdesc:ga6b64039ffc88a7a2f57f0956c0c75d53"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the depth buffer associated with the specified window. <a href="group__native.html#ga6b64039ffc88a7a2f57f0956c0c75d53">More...</a><br /></td></tr> | ||
| 158 | <tr class="separator:ga6b64039ffc88a7a2f57f0956c0c75d53"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 159 | <tr class="memitem:ga9e47700080094eb569cb053afaa88773"><td class="memItemLeft" align="right" valign="top">OSMesaContext </td><td class="memItemRight" valign="bottom"><a class="el" href="group__native.html#ga9e47700080094eb569cb053afaa88773">glfwGetOSMesaContext</a> (<a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> *window)</td></tr> | ||
| 160 | <tr class="memdesc:ga9e47700080094eb569cb053afaa88773"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>OSMesaContext</code> of the specified window. <a href="group__native.html#ga9e47700080094eb569cb053afaa88773">More...</a><br /></td></tr> | ||
| 161 | <tr class="separator:ga9e47700080094eb569cb053afaa88773"><td class="memSeparator" colspan="2"> </td></tr> | ||
| 162 | </table> | ||
| 163 | <h2 class="groupheader">Function Documentation</h2> | ||
| 164 | <a id="gad4d3e9242536c0ba6be88a98f4c73a41" name="gad4d3e9242536c0ba6be88a98f4c73a41"></a> | ||
| 165 | <h2 class="memtitle"><span class="permalink"><a href="#gad4d3e9242536c0ba6be88a98f4c73a41">◆ </a></span>glfwGetWin32Adapter()</h2> | ||
| 166 | |||
| 167 | <div class="memitem"> | ||
| 168 | <div class="memproto"> | ||
| 169 | <table class="memname"> | ||
| 170 | <tr> | ||
| 171 | <td class="memname">const char * glfwGetWin32Adapter </td> | ||
| 172 | <td>(</td> | ||
| 173 | <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td> | ||
| 174 | <td class="paramname"><em>monitor</em></td><td>)</td> | ||
| 175 | <td></td> | ||
| 176 | </tr> | ||
| 177 | </table> | ||
| 178 | </div><div class="memdoc"> | ||
| 179 | <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> | ||
| 180 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 181 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 182 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl> | ||
| 183 | |||
| 184 | </div> | ||
| 185 | </div> | ||
| 186 | <a id="gac845f7dbe4c1d7fdd682a3c6fdae6766" name="gac845f7dbe4c1d7fdd682a3c6fdae6766"></a> | ||
| 187 | <h2 class="memtitle"><span class="permalink"><a href="#gac845f7dbe4c1d7fdd682a3c6fdae6766">◆ </a></span>glfwGetWin32Monitor()</h2> | ||
| 188 | |||
| 189 | <div class="memitem"> | ||
| 190 | <div class="memproto"> | ||
| 191 | <table class="memname"> | ||
| 192 | <tr> | ||
| 193 | <td class="memname">const char * glfwGetWin32Monitor </td> | ||
| 194 | <td>(</td> | ||
| 195 | <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td> | ||
| 196 | <td class="paramname"><em>monitor</em></td><td>)</td> | ||
| 197 | <td></td> | ||
| 198 | </tr> | ||
| 199 | </table> | ||
| 200 | </div><div class="memdoc"> | ||
| 201 | <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> | ||
| 202 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 203 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 204 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl> | ||
| 205 | |||
| 206 | </div> | ||
| 207 | </div> | ||
| 208 | <a id="gafe5079aa79038b0079fc09d5f0a8e667" name="gafe5079aa79038b0079fc09d5f0a8e667"></a> | ||
| 209 | <h2 class="memtitle"><span class="permalink"><a href="#gafe5079aa79038b0079fc09d5f0a8e667">◆ </a></span>glfwGetWin32Window()</h2> | ||
| 210 | |||
| 211 | <div class="memitem"> | ||
| 212 | <div class="memproto"> | ||
| 213 | <table class="memname"> | ||
| 214 | <tr> | ||
| 215 | <td class="memname">HWND glfwGetWin32Window </td> | ||
| 216 | <td>(</td> | ||
| 217 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 218 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 219 | <td></td> | ||
| 220 | </tr> | ||
| 221 | </table> | ||
| 222 | </div><div class="memdoc"> | ||
| 223 | <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> | ||
| 224 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 225 | <dl class="section remark"><dt>Remarks</dt><dd>The <code>HDC</code> associated with the window can be queried with the <a href="https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getdc">GetDC</a> function. <div class="fragment"><div class="line">HDC dc = GetDC(<a class="code hl_function" href="group__native.html#gafe5079aa79038b0079fc09d5f0a8e667">glfwGetWin32Window</a>(window));</div> | ||
| 226 | <div class="ttc" id="agroup__native_html_gafe5079aa79038b0079fc09d5f0a8e667"><div class="ttname"><a href="group__native.html#gafe5079aa79038b0079fc09d5f0a8e667">glfwGetWin32Window</a></div><div class="ttdeci">HWND glfwGetWin32Window(GLFWwindow *window)</div><div class="ttdoc">Returns the HWND of the specified window.</div></div> | ||
| 227 | </div><!-- fragment --> This DC is private and does not need to be released.</dd></dl> | ||
| 228 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 229 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 230 | |||
| 231 | </div> | ||
| 232 | </div> | ||
| 233 | <a id="gadc4010d91d9cc1134d040eeb1202a143" name="gadc4010d91d9cc1134d040eeb1202a143"></a> | ||
| 234 | <h2 class="memtitle"><span class="permalink"><a href="#gadc4010d91d9cc1134d040eeb1202a143">◆ </a></span>glfwGetWGLContext()</h2> | ||
| 235 | |||
| 236 | <div class="memitem"> | ||
| 237 | <div class="memproto"> | ||
| 238 | <table class="memname"> | ||
| 239 | <tr> | ||
| 240 | <td class="memname">HGLRC glfwGetWGLContext </td> | ||
| 241 | <td>(</td> | ||
| 242 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 243 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 244 | <td></td> | ||
| 245 | </tr> | ||
| 246 | </table> | ||
| 247 | </div><div class="memdoc"> | ||
| 248 | <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> | ||
| 249 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 250 | <dl class="section remark"><dt>Remarks</dt><dd>The <code>HDC</code> associated with the window can be queried with the <a href="https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getdc">GetDC</a> function. <div class="fragment"><div class="line">HDC dc = GetDC(<a class="code hl_function" href="group__native.html#gafe5079aa79038b0079fc09d5f0a8e667">glfwGetWin32Window</a>(window));</div> | ||
| 251 | </div><!-- fragment --> This DC is private and does not need to be released.</dd></dl> | ||
| 252 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 253 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 254 | |||
| 255 | </div> | ||
| 256 | </div> | ||
| 257 | <a id="gaf22f429aec4b1aab316142d66d9be3e6" name="gaf22f429aec4b1aab316142d66d9be3e6"></a> | ||
| 258 | <h2 class="memtitle"><span class="permalink"><a href="#gaf22f429aec4b1aab316142d66d9be3e6">◆ </a></span>glfwGetCocoaMonitor()</h2> | ||
| 259 | |||
| 260 | <div class="memitem"> | ||
| 261 | <div class="memproto"> | ||
| 262 | <table class="memname"> | ||
| 263 | <tr> | ||
| 264 | <td class="memname">CGDirectDisplayID glfwGetCocoaMonitor </td> | ||
| 265 | <td>(</td> | ||
| 266 | <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td> | ||
| 267 | <td class="paramname"><em>monitor</em></td><td>)</td> | ||
| 268 | <td></td> | ||
| 269 | </tr> | ||
| 270 | </table> | ||
| 271 | </div><div class="memdoc"> | ||
| 272 | <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> | ||
| 273 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 274 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 275 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl> | ||
| 276 | |||
| 277 | </div> | ||
| 278 | </div> | ||
| 279 | <a id="gac3ed9d495d0c2bb9652de5a50c648715" name="gac3ed9d495d0c2bb9652de5a50c648715"></a> | ||
| 280 | <h2 class="memtitle"><span class="permalink"><a href="#gac3ed9d495d0c2bb9652de5a50c648715">◆ </a></span>glfwGetCocoaWindow()</h2> | ||
| 281 | |||
| 282 | <div class="memitem"> | ||
| 283 | <div class="memproto"> | ||
| 284 | <table class="memname"> | ||
| 285 | <tr> | ||
| 286 | <td class="memname">id glfwGetCocoaWindow </td> | ||
| 287 | <td>(</td> | ||
| 288 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 289 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 290 | <td></td> | ||
| 291 | </tr> | ||
| 292 | </table> | ||
| 293 | </div><div class="memdoc"> | ||
| 294 | <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> | ||
| 295 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 296 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 297 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 298 | |||
| 299 | </div> | ||
| 300 | </div> | ||
| 301 | <a id="ga559e002e3cd63c979881770cd4dc63bc" name="ga559e002e3cd63c979881770cd4dc63bc"></a> | ||
| 302 | <h2 class="memtitle"><span class="permalink"><a href="#ga559e002e3cd63c979881770cd4dc63bc">◆ </a></span>glfwGetNSGLContext()</h2> | ||
| 303 | |||
| 304 | <div class="memitem"> | ||
| 305 | <div class="memproto"> | ||
| 306 | <table class="memname"> | ||
| 307 | <tr> | ||
| 308 | <td class="memname">id glfwGetNSGLContext </td> | ||
| 309 | <td>(</td> | ||
| 310 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 311 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 312 | <td></td> | ||
| 313 | </tr> | ||
| 314 | </table> | ||
| 315 | </div><div class="memdoc"> | ||
| 316 | <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> | ||
| 317 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 318 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 319 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 320 | |||
| 321 | </div> | ||
| 322 | </div> | ||
| 323 | <a id="ga6e7822385cc8a1cc3b18f60352830189" name="ga6e7822385cc8a1cc3b18f60352830189"></a> | ||
| 324 | <h2 class="memtitle"><span class="permalink"><a href="#ga6e7822385cc8a1cc3b18f60352830189">◆ </a></span>glfwGetX11Display()</h2> | ||
| 325 | |||
| 326 | <div class="memitem"> | ||
| 327 | <div class="memproto"> | ||
| 328 | <table class="memname"> | ||
| 329 | <tr> | ||
| 330 | <td class="memname">Display * glfwGetX11Display </td> | ||
| 331 | <td>(</td> | ||
| 332 | <td class="paramtype">void </td> | ||
| 333 | <td class="paramname"></td><td>)</td> | ||
| 334 | <td></td> | ||
| 335 | </tr> | ||
| 336 | </table> | ||
| 337 | </div><div class="memdoc"> | ||
| 338 | <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> | ||
| 339 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 340 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 341 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 342 | |||
| 343 | </div> | ||
| 344 | </div> | ||
| 345 | <a id="ga088fbfa80f50569402b41be71ad66e40" name="ga088fbfa80f50569402b41be71ad66e40"></a> | ||
| 346 | <h2 class="memtitle"><span class="permalink"><a href="#ga088fbfa80f50569402b41be71ad66e40">◆ </a></span>glfwGetX11Adapter()</h2> | ||
| 347 | |||
| 348 | <div class="memitem"> | ||
| 349 | <div class="memproto"> | ||
| 350 | <table class="memname"> | ||
| 351 | <tr> | ||
| 352 | <td class="memname">RRCrtc glfwGetX11Adapter </td> | ||
| 353 | <td>(</td> | ||
| 354 | <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td> | ||
| 355 | <td class="paramname"><em>monitor</em></td><td>)</td> | ||
| 356 | <td></td> | ||
| 357 | </tr> | ||
| 358 | </table> | ||
| 359 | </div><div class="memdoc"> | ||
| 360 | <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> | ||
| 361 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 362 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 363 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl> | ||
| 364 | |||
| 365 | </div> | ||
| 366 | </div> | ||
| 367 | <a id="gab2f8cc043905e9fa9b12bfdbbcfe874c" name="gab2f8cc043905e9fa9b12bfdbbcfe874c"></a> | ||
| 368 | <h2 class="memtitle"><span class="permalink"><a href="#gab2f8cc043905e9fa9b12bfdbbcfe874c">◆ </a></span>glfwGetX11Monitor()</h2> | ||
| 369 | |||
| 370 | <div class="memitem"> | ||
| 371 | <div class="memproto"> | ||
| 372 | <table class="memname"> | ||
| 373 | <tr> | ||
| 374 | <td class="memname">RROutput glfwGetX11Monitor </td> | ||
| 375 | <td>(</td> | ||
| 376 | <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td> | ||
| 377 | <td class="paramname"><em>monitor</em></td><td>)</td> | ||
| 378 | <td></td> | ||
| 379 | </tr> | ||
| 380 | </table> | ||
| 381 | </div><div class="memdoc"> | ||
| 382 | <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> | ||
| 383 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</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.1. </dd></dl> | ||
| 386 | |||
| 387 | </div> | ||
| 388 | </div> | ||
| 389 | <a id="ga90ca676322740842db446999a1b1f21d" name="ga90ca676322740842db446999a1b1f21d"></a> | ||
| 390 | <h2 class="memtitle"><span class="permalink"><a href="#ga90ca676322740842db446999a1b1f21d">◆ </a></span>glfwGetX11Window()</h2> | ||
| 391 | |||
| 392 | <div class="memitem"> | ||
| 393 | <div class="memproto"> | ||
| 394 | <table class="memname"> | ||
| 395 | <tr> | ||
| 396 | <td class="memname">Window glfwGetX11Window </td> | ||
| 397 | <td>(</td> | ||
| 398 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 399 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 400 | <td></td> | ||
| 401 | </tr> | ||
| 402 | </table> | ||
| 403 | </div><div class="memdoc"> | ||
| 404 | <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> | ||
| 405 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 406 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 407 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 408 | |||
| 409 | </div> | ||
| 410 | </div> | ||
| 411 | <a id="ga55f879ab02d93367f966186b6f0133f7" name="ga55f879ab02d93367f966186b6f0133f7"></a> | ||
| 412 | <h2 class="memtitle"><span class="permalink"><a href="#ga55f879ab02d93367f966186b6f0133f7">◆ </a></span>glfwSetX11SelectionString()</h2> | ||
| 413 | |||
| 414 | <div class="memitem"> | ||
| 415 | <div class="memproto"> | ||
| 416 | <table class="memname"> | ||
| 417 | <tr> | ||
| 418 | <td class="memname">void glfwSetX11SelectionString </td> | ||
| 419 | <td>(</td> | ||
| 420 | <td class="paramtype">const char * </td> | ||
| 421 | <td class="paramname"><em>string</em></td><td>)</td> | ||
| 422 | <td></td> | ||
| 423 | </tr> | ||
| 424 | </table> | ||
| 425 | </div><div class="memdoc"> | ||
| 426 | <dl class="params"><dt>Parameters</dt><dd> | ||
| 427 | <table class="params"> | ||
| 428 | <tr><td class="paramdir">[in]</td><td class="paramname">string</td><td>A UTF-8 encoded string.</td></tr> | ||
| 429 | </table> | ||
| 430 | </dd> | ||
| 431 | </dl> | ||
| 432 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a> and <a class="el" href="group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1">GLFW_PLATFORM_ERROR</a>.</dd></dl> | ||
| 433 | <dl class="section user"><dt>Pointer lifetime</dt><dd>The specified string is copied before this function returns.</dd></dl> | ||
| 434 | <dl class="section user"><dt>Thread safety</dt><dd>This function must only be called from the main thread.</dd></dl> | ||
| 435 | <dl class="section see"><dt>See also</dt><dd><a class="el" href="input_guide.html#clipboard">Clipboard input and output</a> </dd> | ||
| 436 | <dd> | ||
| 437 | <a class="el" href="group__native.html#gae084ef64dc0db140b455b1427256d3f7" title="Returns the contents of the current primary selection as a string.">glfwGetX11SelectionString</a> </dd> | ||
| 438 | <dd> | ||
| 439 | <a class="el" href="group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd" title="Sets the clipboard to the specified string.">glfwSetClipboardString</a></dd></dl> | ||
| 440 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl> | ||
| 441 | |||
| 442 | </div> | ||
| 443 | </div> | ||
| 444 | <a id="gae084ef64dc0db140b455b1427256d3f7" name="gae084ef64dc0db140b455b1427256d3f7"></a> | ||
| 445 | <h2 class="memtitle"><span class="permalink"><a href="#gae084ef64dc0db140b455b1427256d3f7">◆ </a></span>glfwGetX11SelectionString()</h2> | ||
| 446 | |||
| 447 | <div class="memitem"> | ||
| 448 | <div class="memproto"> | ||
| 449 | <table class="memname"> | ||
| 450 | <tr> | ||
| 451 | <td class="memname">const char * glfwGetX11SelectionString </td> | ||
| 452 | <td>(</td> | ||
| 453 | <td class="paramtype">void </td> | ||
| 454 | <td class="paramname"></td><td>)</td> | ||
| 455 | <td></td> | ||
| 456 | </tr> | ||
| 457 | </table> | ||
| 458 | </div><div class="memdoc"> | ||
| 459 | <p >If the selection is empty or if its contents cannot be converted, <code>NULL</code> is returned and a <a class="el" href="group__errors.html#ga196e125ef261d94184e2b55c05762f14">GLFW_FORMAT_UNAVAILABLE</a> error is generated.</p> | ||
| 460 | <dl class="section return"><dt>Returns</dt><dd>The contents of the selection as a UTF-8 encoded string, or <code>NULL</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl> | ||
| 461 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a> and <a class="el" href="group__errors.html#gad44162d78100ea5e87cdd38426b8c7a1">GLFW_PLATFORM_ERROR</a>.</dd></dl> | ||
| 462 | <dl class="section user"><dt>Pointer lifetime</dt><dd>The returned string is allocated and freed by GLFW. You should not free it yourself. It is valid until the next call to <a class="el" href="group__native.html#gae084ef64dc0db140b455b1427256d3f7">glfwGetX11SelectionString</a> or <a class="el" href="group__native.html#ga55f879ab02d93367f966186b6f0133f7">glfwSetX11SelectionString</a>, or until the library is terminated.</dd></dl> | ||
| 463 | <dl class="section user"><dt>Thread safety</dt><dd>This function must only be called from the main thread.</dd></dl> | ||
| 464 | <dl class="section see"><dt>See also</dt><dd><a class="el" href="input_guide.html#clipboard">Clipboard input and output</a> </dd> | ||
| 465 | <dd> | ||
| 466 | <a class="el" href="group__native.html#ga55f879ab02d93367f966186b6f0133f7" title="Sets the current primary selection to the specified string.">glfwSetX11SelectionString</a> </dd> | ||
| 467 | <dd> | ||
| 468 | <a class="el" href="group__input.html#ga71a5b20808ea92193d65c21b82580355" title="Returns the contents of the clipboard as a string.">glfwGetClipboardString</a></dd></dl> | ||
| 469 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl> | ||
| 470 | |||
| 471 | </div> | ||
| 472 | </div> | ||
| 473 | <a id="ga62d884114b0abfcdc2930e89f20867e2" name="ga62d884114b0abfcdc2930e89f20867e2"></a> | ||
| 474 | <h2 class="memtitle"><span class="permalink"><a href="#ga62d884114b0abfcdc2930e89f20867e2">◆ </a></span>glfwGetGLXContext()</h2> | ||
| 475 | |||
| 476 | <div class="memitem"> | ||
| 477 | <div class="memproto"> | ||
| 478 | <table class="memname"> | ||
| 479 | <tr> | ||
| 480 | <td class="memname">GLXContext glfwGetGLXContext </td> | ||
| 481 | <td>(</td> | ||
| 482 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 483 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 484 | <td></td> | ||
| 485 | </tr> | ||
| 486 | </table> | ||
| 487 | </div><div class="memdoc"> | ||
| 488 | <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> | ||
| 489 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 490 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 491 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 492 | |||
| 493 | </div> | ||
| 494 | </div> | ||
| 495 | <a id="ga1ed27b8766e859a21381e8f8ce18d049" name="ga1ed27b8766e859a21381e8f8ce18d049"></a> | ||
| 496 | <h2 class="memtitle"><span class="permalink"><a href="#ga1ed27b8766e859a21381e8f8ce18d049">◆ </a></span>glfwGetGLXWindow()</h2> | ||
| 497 | |||
| 498 | <div class="memitem"> | ||
| 499 | <div class="memproto"> | ||
| 500 | <table class="memname"> | ||
| 501 | <tr> | ||
| 502 | <td class="memname">GLXWindow glfwGetGLXWindow </td> | ||
| 503 | <td>(</td> | ||
| 504 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 505 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 506 | <td></td> | ||
| 507 | </tr> | ||
| 508 | </table> | ||
| 509 | </div><div class="memdoc"> | ||
| 510 | <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> | ||
| 511 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 512 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 513 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl> | ||
| 514 | |||
| 515 | </div> | ||
| 516 | </div> | ||
| 517 | <a id="gacbe11f93ce20621de82989bbba94e62a" name="gacbe11f93ce20621de82989bbba94e62a"></a> | ||
| 518 | <h2 class="memtitle"><span class="permalink"><a href="#gacbe11f93ce20621de82989bbba94e62a">◆ </a></span>glfwGetWaylandDisplay()</h2> | ||
| 519 | |||
| 520 | <div class="memitem"> | ||
| 521 | <div class="memproto"> | ||
| 522 | <table class="memname"> | ||
| 523 | <tr> | ||
| 524 | <td class="memname">struct wl_display * glfwGetWaylandDisplay </td> | ||
| 525 | <td>(</td> | ||
| 526 | <td class="paramtype">void </td> | ||
| 527 | <td class="paramname"></td><td>)</td> | ||
| 528 | <td></td> | ||
| 529 | </tr> | ||
| 530 | </table> | ||
| 531 | </div><div class="memdoc"> | ||
| 532 | <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> | ||
| 533 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 534 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 535 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl> | ||
| 536 | |||
| 537 | </div> | ||
| 538 | </div> | ||
| 539 | <a id="ga4f16066bd4c59e2f99418adfcb43dd16" name="ga4f16066bd4c59e2f99418adfcb43dd16"></a> | ||
| 540 | <h2 class="memtitle"><span class="permalink"><a href="#ga4f16066bd4c59e2f99418adfcb43dd16">◆ </a></span>glfwGetWaylandMonitor()</h2> | ||
| 541 | |||
| 542 | <div class="memitem"> | ||
| 543 | <div class="memproto"> | ||
| 544 | <table class="memname"> | ||
| 545 | <tr> | ||
| 546 | <td class="memname">struct wl_output * glfwGetWaylandMonitor </td> | ||
| 547 | <td>(</td> | ||
| 548 | <td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td> | ||
| 549 | <td class="paramname"><em>monitor</em></td><td>)</td> | ||
| 550 | <td></td> | ||
| 551 | </tr> | ||
| 552 | </table> | ||
| 553 | </div><div class="memdoc"> | ||
| 554 | <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> | ||
| 555 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 556 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 557 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl> | ||
| 558 | |||
| 559 | </div> | ||
| 560 | </div> | ||
| 561 | <a id="ga5c597f2841229d9626f0811cca41ceb3" name="ga5c597f2841229d9626f0811cca41ceb3"></a> | ||
| 562 | <h2 class="memtitle"><span class="permalink"><a href="#ga5c597f2841229d9626f0811cca41ceb3">◆ </a></span>glfwGetWaylandWindow()</h2> | ||
| 563 | |||
| 564 | <div class="memitem"> | ||
| 565 | <div class="memproto"> | ||
| 566 | <table class="memname"> | ||
| 567 | <tr> | ||
| 568 | <td class="memname">struct wl_surface * glfwGetWaylandWindow </td> | ||
| 569 | <td>(</td> | ||
| 570 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 571 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 572 | <td></td> | ||
| 573 | </tr> | ||
| 574 | </table> | ||
| 575 | </div><div class="memdoc"> | ||
| 576 | <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> | ||
| 577 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 578 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 579 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl> | ||
| 580 | |||
| 581 | </div> | ||
| 582 | </div> | ||
| 583 | <a id="ga1cd8d973f47aacb5532d368147cc3138" name="ga1cd8d973f47aacb5532d368147cc3138"></a> | ||
| 584 | <h2 class="memtitle"><span class="permalink"><a href="#ga1cd8d973f47aacb5532d368147cc3138">◆ </a></span>glfwGetEGLDisplay()</h2> | ||
| 585 | |||
| 586 | <div class="memitem"> | ||
| 587 | <div class="memproto"> | ||
| 588 | <table class="memname"> | ||
| 589 | <tr> | ||
| 590 | <td class="memname">EGLDisplay glfwGetEGLDisplay </td> | ||
| 591 | <td>(</td> | ||
| 592 | <td class="paramtype">void </td> | ||
| 593 | <td class="paramname"></td><td>)</td> | ||
| 594 | <td></td> | ||
| 595 | </tr> | ||
| 596 | </table> | ||
| 597 | </div><div class="memdoc"> | ||
| 598 | <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> | ||
| 599 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 600 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 601 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 602 | |||
| 603 | </div> | ||
| 604 | </div> | ||
| 605 | <a id="ga671c5072becd085f4ab5771a9c8efcf1" name="ga671c5072becd085f4ab5771a9c8efcf1"></a> | ||
| 606 | <h2 class="memtitle"><span class="permalink"><a href="#ga671c5072becd085f4ab5771a9c8efcf1">◆ </a></span>glfwGetEGLContext()</h2> | ||
| 607 | |||
| 608 | <div class="memitem"> | ||
| 609 | <div class="memproto"> | ||
| 610 | <table class="memname"> | ||
| 611 | <tr> | ||
| 612 | <td class="memname">EGLContext glfwGetEGLContext </td> | ||
| 613 | <td>(</td> | ||
| 614 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 615 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 616 | <td></td> | ||
| 617 | </tr> | ||
| 618 | </table> | ||
| 619 | </div><div class="memdoc"> | ||
| 620 | <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> | ||
| 621 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 622 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 623 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 624 | |||
| 625 | </div> | ||
| 626 | </div> | ||
| 627 | <a id="ga2199b36117a6a695fec8441d8052eee6" name="ga2199b36117a6a695fec8441d8052eee6"></a> | ||
| 628 | <h2 class="memtitle"><span class="permalink"><a href="#ga2199b36117a6a695fec8441d8052eee6">◆ </a></span>glfwGetEGLSurface()</h2> | ||
| 629 | |||
| 630 | <div class="memitem"> | ||
| 631 | <div class="memproto"> | ||
| 632 | <table class="memname"> | ||
| 633 | <tr> | ||
| 634 | <td class="memname">EGLSurface glfwGetEGLSurface </td> | ||
| 635 | <td>(</td> | ||
| 636 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 637 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 638 | <td></td> | ||
| 639 | </tr> | ||
| 640 | </table> | ||
| 641 | </div><div class="memdoc"> | ||
| 642 | <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> | ||
| 643 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 644 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 645 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl> | ||
| 646 | |||
| 647 | </div> | ||
| 648 | </div> | ||
| 649 | <a id="ga3b36e3e3dcf308b776427b6bd73cc132" name="ga3b36e3e3dcf308b776427b6bd73cc132"></a> | ||
| 650 | <h2 class="memtitle"><span class="permalink"><a href="#ga3b36e3e3dcf308b776427b6bd73cc132">◆ </a></span>glfwGetOSMesaColorBuffer()</h2> | ||
| 651 | |||
| 652 | <div class="memitem"> | ||
| 653 | <div class="memproto"> | ||
| 654 | <table class="memname"> | ||
| 655 | <tr> | ||
| 656 | <td class="memname">int glfwGetOSMesaColorBuffer </td> | ||
| 657 | <td>(</td> | ||
| 658 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 659 | <td class="paramname"><em>window</em>, </td> | ||
| 660 | </tr> | ||
| 661 | <tr> | ||
| 662 | <td class="paramkey"></td> | ||
| 663 | <td></td> | ||
| 664 | <td class="paramtype">int * </td> | ||
| 665 | <td class="paramname"><em>width</em>, </td> | ||
| 666 | </tr> | ||
| 667 | <tr> | ||
| 668 | <td class="paramkey"></td> | ||
| 669 | <td></td> | ||
| 670 | <td class="paramtype">int * </td> | ||
| 671 | <td class="paramname"><em>height</em>, </td> | ||
| 672 | </tr> | ||
| 673 | <tr> | ||
| 674 | <td class="paramkey"></td> | ||
| 675 | <td></td> | ||
| 676 | <td class="paramtype">int * </td> | ||
| 677 | <td class="paramname"><em>format</em>, </td> | ||
| 678 | </tr> | ||
| 679 | <tr> | ||
| 680 | <td class="paramkey"></td> | ||
| 681 | <td></td> | ||
| 682 | <td class="paramtype">void ** </td> | ||
| 683 | <td class="paramname"><em>buffer</em> </td> | ||
| 684 | </tr> | ||
| 685 | <tr> | ||
| 686 | <td></td> | ||
| 687 | <td>)</td> | ||
| 688 | <td></td><td></td> | ||
| 689 | </tr> | ||
| 690 | </table> | ||
| 691 | </div><div class="memdoc"> | ||
| 692 | <dl class="params"><dt>Parameters</dt><dd> | ||
| 693 | <table class="params"> | ||
| 694 | <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>The window whose color buffer to retrieve. </td></tr> | ||
| 695 | <tr><td class="paramdir">[out]</td><td class="paramname">width</td><td>Where to store the width of the color buffer, or <code>NULL</code>. </td></tr> | ||
| 696 | <tr><td class="paramdir">[out]</td><td class="paramname">height</td><td>Where to store the height of the color buffer, or <code>NULL</code>. </td></tr> | ||
| 697 | <tr><td class="paramdir">[out]</td><td class="paramname">format</td><td>Where to store the OSMesa pixel format of the color buffer, or <code>NULL</code>. </td></tr> | ||
| 698 | <tr><td class="paramdir">[out]</td><td class="paramname">buffer</td><td>Where to store the address of the color buffer, or <code>NULL</code>. </td></tr> | ||
| 699 | </table> | ||
| 700 | </dd> | ||
| 701 | </dl> | ||
| 702 | <dl class="section return"><dt>Returns</dt><dd><code>GLFW_TRUE</code> if successful, or <code>GLFW_FALSE</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl> | ||
| 703 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 704 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 705 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl> | ||
| 706 | |||
| 707 | </div> | ||
| 708 | </div> | ||
| 709 | <a id="ga6b64039ffc88a7a2f57f0956c0c75d53" name="ga6b64039ffc88a7a2f57f0956c0c75d53"></a> | ||
| 710 | <h2 class="memtitle"><span class="permalink"><a href="#ga6b64039ffc88a7a2f57f0956c0c75d53">◆ </a></span>glfwGetOSMesaDepthBuffer()</h2> | ||
| 711 | |||
| 712 | <div class="memitem"> | ||
| 713 | <div class="memproto"> | ||
| 714 | <table class="memname"> | ||
| 715 | <tr> | ||
| 716 | <td class="memname">int glfwGetOSMesaDepthBuffer </td> | ||
| 717 | <td>(</td> | ||
| 718 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 719 | <td class="paramname"><em>window</em>, </td> | ||
| 720 | </tr> | ||
| 721 | <tr> | ||
| 722 | <td class="paramkey"></td> | ||
| 723 | <td></td> | ||
| 724 | <td class="paramtype">int * </td> | ||
| 725 | <td class="paramname"><em>width</em>, </td> | ||
| 726 | </tr> | ||
| 727 | <tr> | ||
| 728 | <td class="paramkey"></td> | ||
| 729 | <td></td> | ||
| 730 | <td class="paramtype">int * </td> | ||
| 731 | <td class="paramname"><em>height</em>, </td> | ||
| 732 | </tr> | ||
| 733 | <tr> | ||
| 734 | <td class="paramkey"></td> | ||
| 735 | <td></td> | ||
| 736 | <td class="paramtype">int * </td> | ||
| 737 | <td class="paramname"><em>bytesPerValue</em>, </td> | ||
| 738 | </tr> | ||
| 739 | <tr> | ||
| 740 | <td class="paramkey"></td> | ||
| 741 | <td></td> | ||
| 742 | <td class="paramtype">void ** </td> | ||
| 743 | <td class="paramname"><em>buffer</em> </td> | ||
| 744 | </tr> | ||
| 745 | <tr> | ||
| 746 | <td></td> | ||
| 747 | <td>)</td> | ||
| 748 | <td></td><td></td> | ||
| 749 | </tr> | ||
| 750 | </table> | ||
| 751 | </div><div class="memdoc"> | ||
| 752 | <dl class="params"><dt>Parameters</dt><dd> | ||
| 753 | <table class="params"> | ||
| 754 | <tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>The window whose depth buffer to retrieve. </td></tr> | ||
| 755 | <tr><td class="paramdir">[out]</td><td class="paramname">width</td><td>Where to store the width of the depth buffer, or <code>NULL</code>. </td></tr> | ||
| 756 | <tr><td class="paramdir">[out]</td><td class="paramname">height</td><td>Where to store the height of the depth buffer, or <code>NULL</code>. </td></tr> | ||
| 757 | <tr><td class="paramdir">[out]</td><td class="paramname">bytesPerValue</td><td>Where to store the number of bytes per depth buffer element, or <code>NULL</code>. </td></tr> | ||
| 758 | <tr><td class="paramdir">[out]</td><td class="paramname">buffer</td><td>Where to store the address of the depth buffer, or <code>NULL</code>. </td></tr> | ||
| 759 | </table> | ||
| 760 | </dd> | ||
| 761 | </dl> | ||
| 762 | <dl class="section return"><dt>Returns</dt><dd><code>GLFW_TRUE</code> if successful, or <code>GLFW_FALSE</code> if an <a class="el" href="intro_guide.html#error_handling">error</a> occurred.</dd></dl> | ||
| 763 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 764 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 765 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl> | ||
| 766 | |||
| 767 | </div> | ||
| 768 | </div> | ||
| 769 | <a id="ga9e47700080094eb569cb053afaa88773" name="ga9e47700080094eb569cb053afaa88773"></a> | ||
| 770 | <h2 class="memtitle"><span class="permalink"><a href="#ga9e47700080094eb569cb053afaa88773">◆ </a></span>glfwGetOSMesaContext()</h2> | ||
| 771 | |||
| 772 | <div class="memitem"> | ||
| 773 | <div class="memproto"> | ||
| 774 | <table class="memname"> | ||
| 775 | <tr> | ||
| 776 | <td class="memname">OSMesaContext glfwGetOSMesaContext </td> | ||
| 777 | <td>(</td> | ||
| 778 | <td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td> | ||
| 779 | <td class="paramname"><em>window</em></td><td>)</td> | ||
| 780 | <td></td> | ||
| 781 | </tr> | ||
| 782 | </table> | ||
| 783 | </div><div class="memdoc"> | ||
| 784 | <dl class="section return"><dt>Returns</dt><dd>The <code>OSMesaContext</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> | ||
| 785 | <dl class="section user"><dt>Errors</dt><dd>Possible errors include <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> and <a class="el" href="group__errors.html#ga2374ee02c177f12e1fa76ff3ed15e14a">GLFW_NOT_INITIALIZED</a>.</dd></dl> | ||
| 786 | <dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl> | ||
| 787 | <dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl> | ||
| 788 | |||
| 789 | </div> | ||
| 790 | </div> | ||
| 791 | </div><!-- contents --> | ||
| 792 | <address class="footer"> | ||
| 793 | <p> | ||
| 794 | Last update on Thu Oct 28 2021 for GLFW 3.3.5 | ||
| 795 | </p> | ||
| 796 | </address> | ||
| 797 | </body> | ||
| 798 | </html> | ||
