ruby_rpg 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -0
- data/glfw-3.3.9.bin.MACOS/LICENSE.md +23 -0
- data/glfw-3.3.9.bin.MACOS/README.md +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/bc_s.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/bc_sd.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/build_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/build_guide.html +199 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/closed.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/compat_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/compat_guide.html +153 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/compile_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/compile_guide.html +223 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/context_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/context_guide.html +259 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/deprecated.html +88 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/dir_08423ce7729c4554356a7de7171ba263.html +85 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/dir_2dcebcdf14b42e92a6ed85c61bda6b9d.html +93 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/dir_62ce056722ee97c199075aa1d6eca309.html +95 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/dir_dddf4cf62655095a666cf715de3a31a2.html +91 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/doc.svg +12 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/docd.svg +12 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/doxygen.css +1685 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/doxygen.svg +28 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/dynsections.js +192 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/extra.css +1 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/files.html +91 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/folderclosed.svg +11 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/folderclosedd.svg +11 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/folderopen.svg +17 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/folderopend.svg +12 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/glfw3_8h.html +1661 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/glfw3_8h_source.html +1175 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/glfw3native_8h.html +167 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/glfw3native_8h_source.html +303 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__buttons.html +282 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__context.html +304 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__errors.html +304 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__gamepad__axes.html +202 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__gamepad__buttons.html +410 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__hat__state.html +234 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__init.html +570 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__input.html +2255 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__joysticks.html +362 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__keys.html +2034 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__mods.html +198 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__monitor.html +848 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__native.html +812 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__shapes.html +198 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__vulkan.html +359 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/group__window.html +3434 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/index.html +100 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/input_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/input_guide.html +570 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/internal_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/internals_guide.html +132 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/intro_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/intro_guide.html +351 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/jquery.js +34 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/main_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/menu.js +136 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/menudata.js +29 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/minus.svg +8 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/minusd.svg +8 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/monitor_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/monitor_guide.html +229 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/moving_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/moving_guide.html +374 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/nav_f.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/nav_fd.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/nav_g.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/nav_h.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/nav_hd.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/news.html +634 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/news_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/open.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/pages.html +99 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/plus.svg +9 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/plusd.svg +9 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/quick_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/quick_guide.html +397 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_0.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_10.js +65 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_11.js +26 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_12.js +44 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_13.js +34 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_14.js +12 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_15.js +52 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_16.js +69 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_17.js +51 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_18.js +14 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_19.js +36 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1a.js +98 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_1b.js +12 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_2.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_3.js +9 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_4.js +57 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_5.js +22 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_6.js +103 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_7.js +23 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_8.js +35 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_9.js +63 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_a.js +505 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_b.js +24 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_c.js +50 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_d.js +17 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_e.js +12 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/all_f.js +35 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/classes_0.js +7 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/close.svg +18 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/defines_0.js +34 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_0.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_1.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_2.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_3.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_4.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_5.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_6.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_7.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/files_8.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/functions_0.js +146 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_0.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_1.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_10.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_2.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_3.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_4.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_5.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_6.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_7.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_8.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_9.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_a.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_b.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_c.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_d.js +7 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_e.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/groups_f.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/mag.svg +24 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_d.svg +24 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_sel.svg +31 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/mag_seld.svg +31 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_0.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_1.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_10.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_2.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_3.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_4.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_5.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_6.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_7.js +7 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_8.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_9.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_a.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_b.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_c.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_d.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_e.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/pages_f.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/search.css +291 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/search.js +840 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/searchdata.js +39 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/typedefs_0.js +32 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_0.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_1.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_2.js +5 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_3.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_4.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_5.js +6 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_6.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/search/variables_7.js +4 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/spaces.svg +877 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/splitbar.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/splitbard.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wgamepadstate.html +134 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wgammaramp.html +170 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wimage.html +151 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/struct_g_l_f_wvidmode.html +204 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/sync_off.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/sync_on.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_a.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_ad.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_b.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_bd.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_h.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_hd.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_s.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tab_sd.png +0 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/tabs.css +1 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/vulkan_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/vulkan_guide.html +196 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/window_8dox.html +81 -0
- data/glfw-3.3.9.bin.MACOS/docs/html/window_guide.html +763 -0
- data/glfw-3.3.9.bin.MACOS/include/GLFW/glfw3.h +5932 -0
- data/glfw-3.3.9.bin.MACOS/include/GLFW/glfw3native.h +634 -0
- data/glfw-3.3.9.bin.MACOS/lib-arm64/libglfw.3.dylib +0 -0
- data/glfw-3.3.9.bin.MACOS/lib-arm64/libglfw3.a +0 -0
- data/glfw-3.3.9.bin.MACOS/lib-universal/libglfw.3.dylib +0 -0
- data/glfw-3.3.9.bin.MACOS/lib-universal/libglfw3.a +0 -0
- data/glfw-3.3.9.bin.MACOS/lib-x86_64/libglfw.3.dylib +0 -0
- data/glfw-3.3.9.bin.MACOS/lib-x86_64/libglfw3.a +0 -0
- data/glfw-3.4.bin.WIN64/LICENSE.md +23 -0
- data/glfw-3.4.bin.WIN64/README.md +70 -0
- data/glfw-3.4.bin.WIN64/docs/html/bc_s.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/bc_sd.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/build_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/build_guide.html +217 -0
- data/glfw-3.4.bin.WIN64/docs/html/closed.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/compat_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/compat_guide.html +156 -0
- data/glfw-3.4.bin.WIN64/docs/html/compile_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/compile_guide.html +219 -0
- data/glfw-3.4.bin.WIN64/docs/html/context_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/context_guide.html +258 -0
- data/glfw-3.4.bin.WIN64/docs/html/deprecated.html +88 -0
- data/glfw-3.4.bin.WIN64/docs/html/dir_13577e2d8b9423099662de029791bd7d.html +93 -0
- data/glfw-3.4.bin.WIN64/docs/html/dir_7f92719a7fe62e5b064f87d7a3c220b1.html +95 -0
- data/glfw-3.4.bin.WIN64/docs/html/dir_a788ef6c2b1e5b367804e0b6ccfd6f11.html +85 -0
- data/glfw-3.4.bin.WIN64/docs/html/dir_b11153cd0f4fd04a7564cc166f482635.html +91 -0
- data/glfw-3.4.bin.WIN64/docs/html/doc.svg +12 -0
- data/glfw-3.4.bin.WIN64/docs/html/docd.svg +12 -0
- data/glfw-3.4.bin.WIN64/docs/html/doxygen.css +1685 -0
- data/glfw-3.4.bin.WIN64/docs/html/doxygen.svg +28 -0
- data/glfw-3.4.bin.WIN64/docs/html/dynsections.js +192 -0
- data/glfw-3.4.bin.WIN64/docs/html/extra.css +2 -0
- data/glfw-3.4.bin.WIN64/docs/html/files.html +91 -0
- data/glfw-3.4.bin.WIN64/docs/html/folderclosed.svg +11 -0
- data/glfw-3.4.bin.WIN64/docs/html/folderclosedd.svg +11 -0
- data/glfw-3.4.bin.WIN64/docs/html/folderopen.svg +17 -0
- data/glfw-3.4.bin.WIN64/docs/html/folderopend.svg +12 -0
- data/glfw-3.4.bin.WIN64/docs/html/glfw3_8h.html +1910 -0
- data/glfw-3.4.bin.WIN64/docs/html/glfw3_8h_source.html +1260 -0
- data/glfw-3.4.bin.WIN64/docs/html/glfw3native_8h.html +170 -0
- data/glfw-3.4.bin.WIN64/docs/html/glfw3native_8h_source.html +306 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__buttons.html +282 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__context.html +304 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__errors.html +384 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__gamepad__axes.html +202 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__gamepad__buttons.html +410 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__hat__state.html +234 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__init.html +1015 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__input.html +2285 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__joysticks.html +362 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__keys.html +2034 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__mods.html +198 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__monitor.html +849 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__native.html +837 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__shapes.html +337 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__vulkan.html +361 -0
- data/glfw-3.4.bin.WIN64/docs/html/group__window.html +3608 -0
- data/glfw-3.4.bin.WIN64/docs/html/index.html +100 -0
- data/glfw-3.4.bin.WIN64/docs/html/input_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/input_guide.html +576 -0
- data/glfw-3.4.bin.WIN64/docs/html/internal_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/internals_guide.html +135 -0
- data/glfw-3.4.bin.WIN64/docs/html/intro_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/intro_guide.html +429 -0
- data/glfw-3.4.bin.WIN64/docs/html/jquery.js +34 -0
- data/glfw-3.4.bin.WIN64/docs/html/main_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/menu.js +136 -0
- data/glfw-3.4.bin.WIN64/docs/html/menudata.js +30 -0
- data/glfw-3.4.bin.WIN64/docs/html/minus.svg +8 -0
- data/glfw-3.4.bin.WIN64/docs/html/minusd.svg +8 -0
- data/glfw-3.4.bin.WIN64/docs/html/monitor_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/monitor_guide.html +228 -0
- data/glfw-3.4.bin.WIN64/docs/html/moving_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/moving_guide.html +360 -0
- data/glfw-3.4.bin.WIN64/docs/html/nav_f.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/nav_fd.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/nav_g.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/nav_h.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/nav_hd.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/news.html +336 -0
- data/glfw-3.4.bin.WIN64/docs/html/news_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/open.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/pages.html +99 -0
- data/glfw-3.4.bin.WIN64/docs/html/plus.svg +9 -0
- data/glfw-3.4.bin.WIN64/docs/html/plusd.svg +9 -0
- data/glfw-3.4.bin.WIN64/docs/html/quick_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/quick_guide.html +406 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_0.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_10.js +13 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_11.js +11 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_12.js +26 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_13.js +51 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_14.js +22 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_15.js +35 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_16.js +29 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_17.js +8 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_18.js +44 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_19.js +60 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1a.js +39 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1b.js +8 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1c.js +32 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1d.js +84 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1e.js +13 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_1f.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_2.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_3.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_4.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_5.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_6.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_7.js +58 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_8.js +21 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_9.js +82 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_a.js +20 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_b.js +26 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_c.js +35 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_d.js +555 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_e.js +23 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/all_f.js +40 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/classes_0.js +8 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/close.svg +18 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/defines_0.js +43 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_0.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_1.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_2.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_3.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_4.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_5.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_6.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_7.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/files_8.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/functions_0.js +152 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_0.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_1.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_10.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_2.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_3.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_4.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_5.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_6.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_7.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_8.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_9.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_a.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_b.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_c.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_d.js +7 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_e.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/groups_f.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/mag.svg +24 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/mag_d.svg +24 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/mag_sel.svg +31 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/mag_seld.svg +31 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_0.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_1.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_10.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_11.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_2.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_3.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_4.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_5.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_6.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_7.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_8.js +7 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_9.js +7 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_a.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_b.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_c.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_d.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_e.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/pages_f.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/search.css +291 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/search.js +840 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/searchdata.js +39 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/typedefs_0.js +36 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_0.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_1.js +6 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_2.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_3.js +5 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_4.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_5.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_6.js +7 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_7.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_8.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/search/variables_9.js +4 -0
- data/glfw-3.4.bin.WIN64/docs/html/spaces.svg +877 -0
- data/glfw-3.4.bin.WIN64/docs/html/splitbar.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/splitbard.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wallocator.html +168 -0
- data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wgamepadstate.html +134 -0
- data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wgammaramp.html +170 -0
- data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wimage.html +151 -0
- data/glfw-3.4.bin.WIN64/docs/html/struct_g_l_f_wvidmode.html +204 -0
- data/glfw-3.4.bin.WIN64/docs/html/sync_off.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/sync_on.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_a.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_ad.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_b.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_bd.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_h.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_hd.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_s.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tab_sd.png +0 -0
- data/glfw-3.4.bin.WIN64/docs/html/tabs.css +1 -0
- data/glfw-3.4.bin.WIN64/docs/html/topics.html +101 -0
- data/glfw-3.4.bin.WIN64/docs/html/vulkan_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/vulkan_guide.html +206 -0
- data/glfw-3.4.bin.WIN64/docs/html/window_8md.html +81 -0
- data/glfw-3.4.bin.WIN64/docs/html/window_guide.html +806 -0
- data/glfw-3.4.bin.WIN64/include/GLFW/glfw3.h +6547 -0
- data/glfw-3.4.bin.WIN64/include/GLFW/glfw3native.h +663 -0
- data/glfw-3.4.bin.WIN64/lib-mingw-w64/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3.a +0 -0
- data/glfw-3.4.bin.WIN64/lib-mingw-w64/libglfw3dll.a +0 -0
- data/glfw-3.4.bin.WIN64/lib-static-ucrt/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-static-ucrt/glfw3dll.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3_mt.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2013/glfw3dll.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3_mt.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2015/glfw3dll.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3_mt.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2017/glfw3dll.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3_mt.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2019/glfw3dll.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3.dll +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3_mt.lib +0 -0
- data/glfw-3.4.bin.WIN64/lib-vc2022/glfw3dll.lib +0 -0
- data/lib/build.bash +12 -0
- data/lib/engine/camera.rb +13 -0
- data/lib/engine/component.rb +48 -0
- data/lib/engine/components/direction_light.rb +23 -0
- data/lib/engine/components/font_renderer.rb +134 -0
- data/lib/engine/components/mesh_renderer.rb +31 -0
- data/lib/engine/components/orthographic_camera.rb +54 -0
- data/lib/engine/components/perspective_camera.rb +53 -0
- data/lib/engine/components/point_light.rb +24 -0
- data/lib/engine/components/sprite_renderer.rb +141 -0
- data/lib/engine/components/ui_font_renderer.rb +140 -0
- data/lib/engine/components/ui_sprite_renderer.rb +101 -0
- data/lib/engine/cursor.rb +43 -0
- data/lib/engine/engine.rb +221 -0
- data/lib/engine/font.rb +74 -0
- data/lib/engine/game_object.rb +198 -0
- data/lib/engine/importers/font_importer.rb +69 -0
- data/lib/engine/importers/obj_file.rb +244 -0
- data/lib/engine/importers/obj_importer.rb +33 -0
- data/lib/engine/input.rb +61 -0
- data/lib/engine/material.rb +79 -0
- data/lib/engine/mesh.rb +43 -0
- data/lib/engine/path.rb +92 -0
- data/lib/engine/physics/collision.rb +12 -0
- data/lib/engine/physics/components/cube_collider.rb +6 -0
- data/lib/engine/physics/components/rigidbody.rb +103 -0
- data/lib/engine/physics/components/sphere_collider.rb +93 -0
- data/lib/engine/physics/physics_resolver.rb +37 -0
- data/lib/engine/polygon_mesh.rb +45 -0
- data/lib/engine/quaternion.rb +228 -0
- data/lib/engine/rendering/instance_renderer.rb +153 -0
- data/lib/engine/rendering/render_pipeline.rb +35 -0
- data/lib/engine/screenshoter.rb +34 -0
- data/lib/engine/shader.rb +91 -0
- data/lib/engine/shaders/colour_frag.glsl +9 -0
- data/lib/engine/shaders/colour_vertex.glsl +14 -0
- data/lib/engine/shaders/mesh_frag.glsl +102 -0
- data/lib/engine/shaders/mesh_vertex.glsl +25 -0
- data/lib/engine/shaders/skybox_frag.glsl +12 -0
- data/lib/engine/shaders/skybox_vert.glsl +14 -0
- data/lib/engine/shaders/sprite_frag.glsl +17 -0
- data/lib/engine/shaders/sprite_vertex.glsl +16 -0
- data/lib/engine/shaders/text_frag.glsl +15 -0
- data/lib/engine/shaders/text_vertex.glsl +31 -0
- data/lib/engine/shaders/ui_sprite_frag.glsl +15 -0
- data/lib/engine/shaders/ui_sprite_vertex.glsl +16 -0
- data/lib/engine/shaders/vertex_lit_frag.glsl +89 -0
- data/lib/engine/shaders/vertex_lit_vertex.glsl +28 -0
- data/lib/engine/tangent_calculator.rb +42 -0
- data/lib/engine/texture.rb +52 -0
- data/lib/engine/video_mode.rb +37 -0
- data/lib/engine/window.rb +126 -0
- metadata +482 -1
@@ -0,0 +1,812 @@
|
|
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.8"/>
|
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.8 -->
|
32
|
+
<script type="text/javascript">
|
33
|
+
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
34
|
+
var searchBox = new SearchBox("searchBox", "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
|
+
<div id="MSearchResults">
|
59
|
+
<div class="SRPage">
|
60
|
+
<div id="SRIndex">
|
61
|
+
<div id="SRResults"></div>
|
62
|
+
<div class="SRStatus" id="Loading">Loading...</div>
|
63
|
+
<div class="SRStatus" id="Searching">Searching...</div>
|
64
|
+
<div class="SRStatus" id="NoMatches">No Matches</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
</div>
|
69
|
+
|
70
|
+
<div class="header">
|
71
|
+
<div class="summary">
|
72
|
+
<a href="#func-members">Functions</a> </div>
|
73
|
+
<div class="headertitle"><div class="title">Native access</div></div>
|
74
|
+
</div><!--header-->
|
75
|
+
<div class="contents">
|
76
|
+
<a name="details" id="details"></a><h2 class="groupheader">Description</h2>
|
77
|
+
<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>
|
78
|
+
<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>
|
79
|
+
<p>The chosen backends must match those the library was compiled for. Failure to do this will cause a link-time error.</p>
|
80
|
+
<p>The available window API macros are:</p><ul>
|
81
|
+
<li><code>GLFW_EXPOSE_NATIVE_WIN32</code></li>
|
82
|
+
<li><code>GLFW_EXPOSE_NATIVE_COCOA</code></li>
|
83
|
+
<li><code>GLFW_EXPOSE_NATIVE_X11</code></li>
|
84
|
+
<li><code>GLFW_EXPOSE_NATIVE_WAYLAND</code></li>
|
85
|
+
</ul>
|
86
|
+
<p>The available context API macros are:</p><ul>
|
87
|
+
<li><code>GLFW_EXPOSE_NATIVE_WGL</code></li>
|
88
|
+
<li><code>GLFW_EXPOSE_NATIVE_NSGL</code></li>
|
89
|
+
<li><code>GLFW_EXPOSE_NATIVE_GLX</code></li>
|
90
|
+
<li><code>GLFW_EXPOSE_NATIVE_EGL</code></li>
|
91
|
+
<li><code>GLFW_EXPOSE_NATIVE_OSMESA</code></li>
|
92
|
+
</ul>
|
93
|
+
<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>
|
94
|
+
<p>If you do not want the platform-specific headers to be included, define <code>GLFW_NATIVE_INCLUDE_NONE</code> before including the <a class="el" href="glfw3native_8h.html">glfw3native.h</a> header.</p>
|
95
|
+
<div class="fragment"><div class="line"><span class="preprocessor">#define GLFW_EXPOSE_NATIVE_WIN32</span></div>
|
96
|
+
<div class="line"><span class="preprocessor">#define GLFW_EXPOSE_NATIVE_WGL</span></div>
|
97
|
+
<div class="line"><span class="preprocessor">#define GLFW_NATIVE_INCLUDE_NONE</span></div>
|
98
|
+
<div class="line"><span class="preprocessor">#include <<a class="code" href="glfw3native_8h.html">GLFW/glfw3native.h</a>></span></div>
|
99
|
+
<div class="ttc" id="aglfw3native_8h_html"><div class="ttname"><a href="glfw3native_8h.html">glfw3native.h</a></div><div class="ttdoc">The header of the native access functions.</div></div>
|
100
|
+
</div><!-- fragment --> <table class="memberdecls">
|
101
|
+
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
102
|
+
Functions</h2></td></tr>
|
103
|
+
<tr class="memitem:gad4d3e9242536c0ba6be88a98f4c73a41" id="r_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>
|
104
|
+
<tr class="memdesc:gad4d3e9242536c0ba6be88a98f4c73a41"><td class="mdescLeft"> </td><td class="mdescRight">Returns the adapter device name of the specified monitor. <br /></td></tr>
|
105
|
+
<tr class="separator:gad4d3e9242536c0ba6be88a98f4c73a41"><td class="memSeparator" colspan="2"> </td></tr>
|
106
|
+
<tr class="memitem:gac845f7dbe4c1d7fdd682a3c6fdae6766" id="r_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>
|
107
|
+
<tr class="memdesc:gac845f7dbe4c1d7fdd682a3c6fdae6766"><td class="mdescLeft"> </td><td class="mdescRight">Returns the display device name of the specified monitor. <br /></td></tr>
|
108
|
+
<tr class="separator:gac845f7dbe4c1d7fdd682a3c6fdae6766"><td class="memSeparator" colspan="2"> </td></tr>
|
109
|
+
<tr class="memitem:gafe5079aa79038b0079fc09d5f0a8e667" id="r_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>
|
110
|
+
<tr class="memdesc:gafe5079aa79038b0079fc09d5f0a8e667"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>HWND</code> of the specified window. <br /></td></tr>
|
111
|
+
<tr class="separator:gafe5079aa79038b0079fc09d5f0a8e667"><td class="memSeparator" colspan="2"> </td></tr>
|
112
|
+
<tr class="memitem:gadc4010d91d9cc1134d040eeb1202a143" id="r_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>
|
113
|
+
<tr class="memdesc:gadc4010d91d9cc1134d040eeb1202a143"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>HGLRC</code> of the specified window. <br /></td></tr>
|
114
|
+
<tr class="separator:gadc4010d91d9cc1134d040eeb1202a143"><td class="memSeparator" colspan="2"> </td></tr>
|
115
|
+
<tr class="memitem:gaf22f429aec4b1aab316142d66d9be3e6" id="r_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>
|
116
|
+
<tr class="memdesc:gaf22f429aec4b1aab316142d66d9be3e6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>CGDirectDisplayID</code> of the specified monitor. <br /></td></tr>
|
117
|
+
<tr class="separator:gaf22f429aec4b1aab316142d66d9be3e6"><td class="memSeparator" colspan="2"> </td></tr>
|
118
|
+
<tr class="memitem:gac3ed9d495d0c2bb9652de5a50c648715" id="r_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>
|
119
|
+
<tr class="memdesc:gac3ed9d495d0c2bb9652de5a50c648715"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>NSWindow</code> of the specified window. <br /></td></tr>
|
120
|
+
<tr class="separator:gac3ed9d495d0c2bb9652de5a50c648715"><td class="memSeparator" colspan="2"> </td></tr>
|
121
|
+
<tr class="memitem:ga559e002e3cd63c979881770cd4dc63bc" id="r_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>
|
122
|
+
<tr class="memdesc:ga559e002e3cd63c979881770cd4dc63bc"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>NSOpenGLContext</code> of the specified window. <br /></td></tr>
|
123
|
+
<tr class="separator:ga559e002e3cd63c979881770cd4dc63bc"><td class="memSeparator" colspan="2"> </td></tr>
|
124
|
+
<tr class="memitem:ga6e7822385cc8a1cc3b18f60352830189" id="r_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>
|
125
|
+
<tr class="memdesc:ga6e7822385cc8a1cc3b18f60352830189"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>Display</code> used by GLFW. <br /></td></tr>
|
126
|
+
<tr class="separator:ga6e7822385cc8a1cc3b18f60352830189"><td class="memSeparator" colspan="2"> </td></tr>
|
127
|
+
<tr class="memitem:ga088fbfa80f50569402b41be71ad66e40" id="r_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>
|
128
|
+
<tr class="memdesc:ga088fbfa80f50569402b41be71ad66e40"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>RRCrtc</code> of the specified monitor. <br /></td></tr>
|
129
|
+
<tr class="separator:ga088fbfa80f50569402b41be71ad66e40"><td class="memSeparator" colspan="2"> </td></tr>
|
130
|
+
<tr class="memitem:gab2f8cc043905e9fa9b12bfdbbcfe874c" id="r_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>
|
131
|
+
<tr class="memdesc:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>RROutput</code> of the specified monitor. <br /></td></tr>
|
132
|
+
<tr class="separator:gab2f8cc043905e9fa9b12bfdbbcfe874c"><td class="memSeparator" colspan="2"> </td></tr>
|
133
|
+
<tr class="memitem:ga90ca676322740842db446999a1b1f21d" id="r_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>
|
134
|
+
<tr class="memdesc:ga90ca676322740842db446999a1b1f21d"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>Window</code> of the specified window. <br /></td></tr>
|
135
|
+
<tr class="separator:ga90ca676322740842db446999a1b1f21d"><td class="memSeparator" colspan="2"> </td></tr>
|
136
|
+
<tr class="memitem:ga55f879ab02d93367f966186b6f0133f7" id="r_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>
|
137
|
+
<tr class="memdesc:ga55f879ab02d93367f966186b6f0133f7"><td class="mdescLeft"> </td><td class="mdescRight">Sets the current primary selection to the specified string. <br /></td></tr>
|
138
|
+
<tr class="separator:ga55f879ab02d93367f966186b6f0133f7"><td class="memSeparator" colspan="2"> </td></tr>
|
139
|
+
<tr class="memitem:gae084ef64dc0db140b455b1427256d3f7" id="r_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>
|
140
|
+
<tr class="memdesc:gae084ef64dc0db140b455b1427256d3f7"><td class="mdescLeft"> </td><td class="mdescRight">Returns the contents of the current primary selection as a string. <br /></td></tr>
|
141
|
+
<tr class="separator:gae084ef64dc0db140b455b1427256d3f7"><td class="memSeparator" colspan="2"> </td></tr>
|
142
|
+
<tr class="memitem:ga62d884114b0abfcdc2930e89f20867e2" id="r_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>
|
143
|
+
<tr class="memdesc:ga62d884114b0abfcdc2930e89f20867e2"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>GLXContext</code> of the specified window. <br /></td></tr>
|
144
|
+
<tr class="separator:ga62d884114b0abfcdc2930e89f20867e2"><td class="memSeparator" colspan="2"> </td></tr>
|
145
|
+
<tr class="memitem:ga1ed27b8766e859a21381e8f8ce18d049" id="r_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>
|
146
|
+
<tr class="memdesc:ga1ed27b8766e859a21381e8f8ce18d049"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>GLXWindow</code> of the specified window. <br /></td></tr>
|
147
|
+
<tr class="separator:ga1ed27b8766e859a21381e8f8ce18d049"><td class="memSeparator" colspan="2"> </td></tr>
|
148
|
+
<tr class="memitem:gacbe11f93ce20621de82989bbba94e62a" id="r_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>
|
149
|
+
<tr class="memdesc:gacbe11f93ce20621de82989bbba94e62a"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>struct wl_display*</code> used by GLFW. <br /></td></tr>
|
150
|
+
<tr class="separator:gacbe11f93ce20621de82989bbba94e62a"><td class="memSeparator" colspan="2"> </td></tr>
|
151
|
+
<tr class="memitem:ga4f16066bd4c59e2f99418adfcb43dd16" id="r_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>
|
152
|
+
<tr class="memdesc:ga4f16066bd4c59e2f99418adfcb43dd16"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>struct wl_output*</code> of the specified monitor. <br /></td></tr>
|
153
|
+
<tr class="separator:ga4f16066bd4c59e2f99418adfcb43dd16"><td class="memSeparator" colspan="2"> </td></tr>
|
154
|
+
<tr class="memitem:ga5c597f2841229d9626f0811cca41ceb3" id="r_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>
|
155
|
+
<tr class="memdesc:ga5c597f2841229d9626f0811cca41ceb3"><td class="mdescLeft"> </td><td class="mdescRight">Returns the main <code>struct wl_surface*</code> of the specified window. <br /></td></tr>
|
156
|
+
<tr class="separator:ga5c597f2841229d9626f0811cca41ceb3"><td class="memSeparator" colspan="2"> </td></tr>
|
157
|
+
<tr class="memitem:ga1cd8d973f47aacb5532d368147cc3138" id="r_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>
|
158
|
+
<tr class="memdesc:ga1cd8d973f47aacb5532d368147cc3138"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>EGLDisplay</code> used by GLFW. <br /></td></tr>
|
159
|
+
<tr class="separator:ga1cd8d973f47aacb5532d368147cc3138"><td class="memSeparator" colspan="2"> </td></tr>
|
160
|
+
<tr class="memitem:ga671c5072becd085f4ab5771a9c8efcf1" id="r_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>
|
161
|
+
<tr class="memdesc:ga671c5072becd085f4ab5771a9c8efcf1"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>EGLContext</code> of the specified window. <br /></td></tr>
|
162
|
+
<tr class="separator:ga671c5072becd085f4ab5771a9c8efcf1"><td class="memSeparator" colspan="2"> </td></tr>
|
163
|
+
<tr class="memitem:ga2199b36117a6a695fec8441d8052eee6" id="r_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>
|
164
|
+
<tr class="memdesc:ga2199b36117a6a695fec8441d8052eee6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>EGLSurface</code> of the specified window. <br /></td></tr>
|
165
|
+
<tr class="separator:ga2199b36117a6a695fec8441d8052eee6"><td class="memSeparator" colspan="2"> </td></tr>
|
166
|
+
<tr class="memitem:ga3b36e3e3dcf308b776427b6bd73cc132" id="r_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>
|
167
|
+
<tr class="memdesc:ga3b36e3e3dcf308b776427b6bd73cc132"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the color buffer associated with the specified window. <br /></td></tr>
|
168
|
+
<tr class="separator:ga3b36e3e3dcf308b776427b6bd73cc132"><td class="memSeparator" colspan="2"> </td></tr>
|
169
|
+
<tr class="memitem:ga6b64039ffc88a7a2f57f0956c0c75d53" id="r_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>
|
170
|
+
<tr class="memdesc:ga6b64039ffc88a7a2f57f0956c0c75d53"><td class="mdescLeft"> </td><td class="mdescRight">Retrieves the depth buffer associated with the specified window. <br /></td></tr>
|
171
|
+
<tr class="separator:ga6b64039ffc88a7a2f57f0956c0c75d53"><td class="memSeparator" colspan="2"> </td></tr>
|
172
|
+
<tr class="memitem:ga9e47700080094eb569cb053afaa88773" id="r_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>
|
173
|
+
<tr class="memdesc:ga9e47700080094eb569cb053afaa88773"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <code>OSMesaContext</code> of the specified window. <br /></td></tr>
|
174
|
+
<tr class="separator:ga9e47700080094eb569cb053afaa88773"><td class="memSeparator" colspan="2"> </td></tr>
|
175
|
+
</table>
|
176
|
+
<h2 class="groupheader">Function Documentation</h2>
|
177
|
+
<a id="gad4d3e9242536c0ba6be88a98f4c73a41" name="gad4d3e9242536c0ba6be88a98f4c73a41"></a>
|
178
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gad4d3e9242536c0ba6be88a98f4c73a41">◆ </a></span>glfwGetWin32Adapter()</h2>
|
179
|
+
|
180
|
+
<div class="memitem">
|
181
|
+
<div class="memproto">
|
182
|
+
<table class="memname">
|
183
|
+
<tr>
|
184
|
+
<td class="memname">const char * glfwGetWin32Adapter </td>
|
185
|
+
<td>(</td>
|
186
|
+
<td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td>
|
187
|
+
<td class="paramname"><em>monitor</em></td><td>)</td>
|
188
|
+
<td></td>
|
189
|
+
</tr>
|
190
|
+
</table>
|
191
|
+
</div><div class="memdoc">
|
192
|
+
<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>
|
193
|
+
<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>
|
194
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
195
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
|
196
|
+
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
<a id="gac845f7dbe4c1d7fdd682a3c6fdae6766" name="gac845f7dbe4c1d7fdd682a3c6fdae6766"></a>
|
200
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gac845f7dbe4c1d7fdd682a3c6fdae6766">◆ </a></span>glfwGetWin32Monitor()</h2>
|
201
|
+
|
202
|
+
<div class="memitem">
|
203
|
+
<div class="memproto">
|
204
|
+
<table class="memname">
|
205
|
+
<tr>
|
206
|
+
<td class="memname">const char * glfwGetWin32Monitor </td>
|
207
|
+
<td>(</td>
|
208
|
+
<td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td>
|
209
|
+
<td class="paramname"><em>monitor</em></td><td>)</td>
|
210
|
+
<td></td>
|
211
|
+
</tr>
|
212
|
+
</table>
|
213
|
+
</div><div class="memdoc">
|
214
|
+
<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>
|
215
|
+
<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>
|
216
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
217
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
|
218
|
+
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
<a id="gafe5079aa79038b0079fc09d5f0a8e667" name="gafe5079aa79038b0079fc09d5f0a8e667"></a>
|
222
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gafe5079aa79038b0079fc09d5f0a8e667">◆ </a></span>glfwGetWin32Window()</h2>
|
223
|
+
|
224
|
+
<div class="memitem">
|
225
|
+
<div class="memproto">
|
226
|
+
<table class="memname">
|
227
|
+
<tr>
|
228
|
+
<td class="memname">HWND glfwGetWin32Window </td>
|
229
|
+
<td>(</td>
|
230
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
231
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
232
|
+
<td></td>
|
233
|
+
</tr>
|
234
|
+
</table>
|
235
|
+
</div><div class="memdoc">
|
236
|
+
<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>
|
237
|
+
<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>
|
238
|
+
<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>
|
239
|
+
<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>
|
240
|
+
</div><!-- fragment --> This DC is private and does not need to be released.</dd></dl>
|
241
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
242
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
243
|
+
|
244
|
+
</div>
|
245
|
+
</div>
|
246
|
+
<a id="gadc4010d91d9cc1134d040eeb1202a143" name="gadc4010d91d9cc1134d040eeb1202a143"></a>
|
247
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gadc4010d91d9cc1134d040eeb1202a143">◆ </a></span>glfwGetWGLContext()</h2>
|
248
|
+
|
249
|
+
<div class="memitem">
|
250
|
+
<div class="memproto">
|
251
|
+
<table class="memname">
|
252
|
+
<tr>
|
253
|
+
<td class="memname">HGLRC glfwGetWGLContext </td>
|
254
|
+
<td>(</td>
|
255
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
256
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
257
|
+
<td></td>
|
258
|
+
</tr>
|
259
|
+
</table>
|
260
|
+
</div><div class="memdoc">
|
261
|
+
<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>
|
262
|
+
<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>
|
263
|
+
<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>
|
264
|
+
</div><!-- fragment --> This DC is private and does not need to be released.</dd></dl>
|
265
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
266
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
267
|
+
|
268
|
+
</div>
|
269
|
+
</div>
|
270
|
+
<a id="gaf22f429aec4b1aab316142d66d9be3e6" name="gaf22f429aec4b1aab316142d66d9be3e6"></a>
|
271
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gaf22f429aec4b1aab316142d66d9be3e6">◆ </a></span>glfwGetCocoaMonitor()</h2>
|
272
|
+
|
273
|
+
<div class="memitem">
|
274
|
+
<div class="memproto">
|
275
|
+
<table class="memname">
|
276
|
+
<tr>
|
277
|
+
<td class="memname">CGDirectDisplayID glfwGetCocoaMonitor </td>
|
278
|
+
<td>(</td>
|
279
|
+
<td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td>
|
280
|
+
<td class="paramname"><em>monitor</em></td><td>)</td>
|
281
|
+
<td></td>
|
282
|
+
</tr>
|
283
|
+
</table>
|
284
|
+
</div><div class="memdoc">
|
285
|
+
<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>
|
286
|
+
<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>
|
287
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
288
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
|
289
|
+
|
290
|
+
</div>
|
291
|
+
</div>
|
292
|
+
<a id="gac3ed9d495d0c2bb9652de5a50c648715" name="gac3ed9d495d0c2bb9652de5a50c648715"></a>
|
293
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gac3ed9d495d0c2bb9652de5a50c648715">◆ </a></span>glfwGetCocoaWindow()</h2>
|
294
|
+
|
295
|
+
<div class="memitem">
|
296
|
+
<div class="memproto">
|
297
|
+
<table class="memname">
|
298
|
+
<tr>
|
299
|
+
<td class="memname">id glfwGetCocoaWindow </td>
|
300
|
+
<td>(</td>
|
301
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
302
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
303
|
+
<td></td>
|
304
|
+
</tr>
|
305
|
+
</table>
|
306
|
+
</div><div class="memdoc">
|
307
|
+
<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>
|
308
|
+
<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>
|
309
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
310
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
311
|
+
|
312
|
+
</div>
|
313
|
+
</div>
|
314
|
+
<a id="ga559e002e3cd63c979881770cd4dc63bc" name="ga559e002e3cd63c979881770cd4dc63bc"></a>
|
315
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga559e002e3cd63c979881770cd4dc63bc">◆ </a></span>glfwGetNSGLContext()</h2>
|
316
|
+
|
317
|
+
<div class="memitem">
|
318
|
+
<div class="memproto">
|
319
|
+
<table class="memname">
|
320
|
+
<tr>
|
321
|
+
<td class="memname">id glfwGetNSGLContext </td>
|
322
|
+
<td>(</td>
|
323
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
324
|
+
<td class="paramname"><em>window</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 <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>
|
330
|
+
<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>
|
331
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
332
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
333
|
+
|
334
|
+
</div>
|
335
|
+
</div>
|
336
|
+
<a id="ga6e7822385cc8a1cc3b18f60352830189" name="ga6e7822385cc8a1cc3b18f60352830189"></a>
|
337
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga6e7822385cc8a1cc3b18f60352830189">◆ </a></span>glfwGetX11Display()</h2>
|
338
|
+
|
339
|
+
<div class="memitem">
|
340
|
+
<div class="memproto">
|
341
|
+
<table class="memname">
|
342
|
+
<tr>
|
343
|
+
<td class="memname">Display * glfwGetX11Display </td>
|
344
|
+
<td>(</td>
|
345
|
+
<td class="paramtype">void </td>
|
346
|
+
<td class="paramname"></td><td>)</td>
|
347
|
+
<td></td>
|
348
|
+
</tr>
|
349
|
+
</table>
|
350
|
+
</div><div class="memdoc">
|
351
|
+
<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>
|
352
|
+
<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>
|
353
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
354
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
355
|
+
|
356
|
+
</div>
|
357
|
+
</div>
|
358
|
+
<a id="ga088fbfa80f50569402b41be71ad66e40" name="ga088fbfa80f50569402b41be71ad66e40"></a>
|
359
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga088fbfa80f50569402b41be71ad66e40">◆ </a></span>glfwGetX11Adapter()</h2>
|
360
|
+
|
361
|
+
<div class="memitem">
|
362
|
+
<div class="memproto">
|
363
|
+
<table class="memname">
|
364
|
+
<tr>
|
365
|
+
<td class="memname">RRCrtc glfwGetX11Adapter </td>
|
366
|
+
<td>(</td>
|
367
|
+
<td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td>
|
368
|
+
<td class="paramname"><em>monitor</em></td><td>)</td>
|
369
|
+
<td></td>
|
370
|
+
</tr>
|
371
|
+
</table>
|
372
|
+
</div><div class="memdoc">
|
373
|
+
<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>
|
374
|
+
<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>
|
375
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
376
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
|
377
|
+
|
378
|
+
</div>
|
379
|
+
</div>
|
380
|
+
<a id="gab2f8cc043905e9fa9b12bfdbbcfe874c" name="gab2f8cc043905e9fa9b12bfdbbcfe874c"></a>
|
381
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gab2f8cc043905e9fa9b12bfdbbcfe874c">◆ </a></span>glfwGetX11Monitor()</h2>
|
382
|
+
|
383
|
+
<div class="memitem">
|
384
|
+
<div class="memproto">
|
385
|
+
<table class="memname">
|
386
|
+
<tr>
|
387
|
+
<td class="memname">RROutput glfwGetX11Monitor </td>
|
388
|
+
<td>(</td>
|
389
|
+
<td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td>
|
390
|
+
<td class="paramname"><em>monitor</em></td><td>)</td>
|
391
|
+
<td></td>
|
392
|
+
</tr>
|
393
|
+
</table>
|
394
|
+
</div><div class="memdoc">
|
395
|
+
<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>
|
396
|
+
<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>
|
397
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
398
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.1. </dd></dl>
|
399
|
+
|
400
|
+
</div>
|
401
|
+
</div>
|
402
|
+
<a id="ga90ca676322740842db446999a1b1f21d" name="ga90ca676322740842db446999a1b1f21d"></a>
|
403
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga90ca676322740842db446999a1b1f21d">◆ </a></span>glfwGetX11Window()</h2>
|
404
|
+
|
405
|
+
<div class="memitem">
|
406
|
+
<div class="memproto">
|
407
|
+
<table class="memname">
|
408
|
+
<tr>
|
409
|
+
<td class="memname">Window glfwGetX11Window </td>
|
410
|
+
<td>(</td>
|
411
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
412
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
413
|
+
<td></td>
|
414
|
+
</tr>
|
415
|
+
</table>
|
416
|
+
</div><div class="memdoc">
|
417
|
+
<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>
|
418
|
+
<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>
|
419
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
420
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
421
|
+
|
422
|
+
</div>
|
423
|
+
</div>
|
424
|
+
<a id="ga55f879ab02d93367f966186b6f0133f7" name="ga55f879ab02d93367f966186b6f0133f7"></a>
|
425
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga55f879ab02d93367f966186b6f0133f7">◆ </a></span>glfwSetX11SelectionString()</h2>
|
426
|
+
|
427
|
+
<div class="memitem">
|
428
|
+
<div class="memproto">
|
429
|
+
<table class="memname">
|
430
|
+
<tr>
|
431
|
+
<td class="memname">void glfwSetX11SelectionString </td>
|
432
|
+
<td>(</td>
|
433
|
+
<td class="paramtype">const char * </td>
|
434
|
+
<td class="paramname"><em>string</em></td><td>)</td>
|
435
|
+
<td></td>
|
436
|
+
</tr>
|
437
|
+
</table>
|
438
|
+
</div><div class="memdoc">
|
439
|
+
<dl class="params"><dt>Parameters</dt><dd>
|
440
|
+
<table class="params">
|
441
|
+
<tr><td class="paramdir">[in]</td><td class="paramname">string</td><td>A UTF-8 encoded string.</td></tr>
|
442
|
+
</table>
|
443
|
+
</dd>
|
444
|
+
</dl>
|
445
|
+
<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>
|
446
|
+
<dl class="section user"><dt>Pointer lifetime</dt><dd>The specified string is copied before this function returns.</dd></dl>
|
447
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function must only be called from the main thread.</dd></dl>
|
448
|
+
<dl class="section see"><dt>See also</dt><dd><a class="el" href="input_guide.html#clipboard">Clipboard input and output</a> </dd>
|
449
|
+
<dd>
|
450
|
+
<a class="el" href="group__native.html#gae084ef64dc0db140b455b1427256d3f7" title="Returns the contents of the current primary selection as a string.">glfwGetX11SelectionString</a> </dd>
|
451
|
+
<dd>
|
452
|
+
<a class="el" href="group__input.html#gaba1f022c5eb07dfac421df34cdcd31dd" title="Sets the clipboard to the specified string.">glfwSetClipboardString</a></dd></dl>
|
453
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl>
|
454
|
+
|
455
|
+
</div>
|
456
|
+
</div>
|
457
|
+
<a id="gae084ef64dc0db140b455b1427256d3f7" name="gae084ef64dc0db140b455b1427256d3f7"></a>
|
458
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gae084ef64dc0db140b455b1427256d3f7">◆ </a></span>glfwGetX11SelectionString()</h2>
|
459
|
+
|
460
|
+
<div class="memitem">
|
461
|
+
<div class="memproto">
|
462
|
+
<table class="memname">
|
463
|
+
<tr>
|
464
|
+
<td class="memname">const char * glfwGetX11SelectionString </td>
|
465
|
+
<td>(</td>
|
466
|
+
<td class="paramtype">void </td>
|
467
|
+
<td class="paramname"></td><td>)</td>
|
468
|
+
<td></td>
|
469
|
+
</tr>
|
470
|
+
</table>
|
471
|
+
</div><div class="memdoc">
|
472
|
+
<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>
|
473
|
+
<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>
|
474
|
+
<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>
|
475
|
+
<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>
|
476
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function must only be called from the main thread.</dd></dl>
|
477
|
+
<dl class="section see"><dt>See also</dt><dd><a class="el" href="input_guide.html#clipboard">Clipboard input and output</a> </dd>
|
478
|
+
<dd>
|
479
|
+
<a class="el" href="group__native.html#ga55f879ab02d93367f966186b6f0133f7" title="Sets the current primary selection to the specified string.">glfwSetX11SelectionString</a> </dd>
|
480
|
+
<dd>
|
481
|
+
<a class="el" href="group__input.html#ga71a5b20808ea92193d65c21b82580355" title="Returns the contents of the clipboard as a string.">glfwGetClipboardString</a></dd></dl>
|
482
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl>
|
483
|
+
|
484
|
+
</div>
|
485
|
+
</div>
|
486
|
+
<a id="ga62d884114b0abfcdc2930e89f20867e2" name="ga62d884114b0abfcdc2930e89f20867e2"></a>
|
487
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga62d884114b0abfcdc2930e89f20867e2">◆ </a></span>glfwGetGLXContext()</h2>
|
488
|
+
|
489
|
+
<div class="memitem">
|
490
|
+
<div class="memproto">
|
491
|
+
<table class="memname">
|
492
|
+
<tr>
|
493
|
+
<td class="memname">GLXContext glfwGetGLXContext </td>
|
494
|
+
<td>(</td>
|
495
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
496
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
497
|
+
<td></td>
|
498
|
+
</tr>
|
499
|
+
</table>
|
500
|
+
</div><div class="memdoc">
|
501
|
+
<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>
|
502
|
+
<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>
|
503
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
504
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
505
|
+
|
506
|
+
</div>
|
507
|
+
</div>
|
508
|
+
<a id="ga1ed27b8766e859a21381e8f8ce18d049" name="ga1ed27b8766e859a21381e8f8ce18d049"></a>
|
509
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga1ed27b8766e859a21381e8f8ce18d049">◆ </a></span>glfwGetGLXWindow()</h2>
|
510
|
+
|
511
|
+
<div class="memitem">
|
512
|
+
<div class="memproto">
|
513
|
+
<table class="memname">
|
514
|
+
<tr>
|
515
|
+
<td class="memname">GLXWindow glfwGetGLXWindow </td>
|
516
|
+
<td>(</td>
|
517
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
518
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
519
|
+
<td></td>
|
520
|
+
</tr>
|
521
|
+
</table>
|
522
|
+
</div><div class="memdoc">
|
523
|
+
<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>
|
524
|
+
<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>
|
525
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
526
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
|
527
|
+
|
528
|
+
</div>
|
529
|
+
</div>
|
530
|
+
<a id="gacbe11f93ce20621de82989bbba94e62a" name="gacbe11f93ce20621de82989bbba94e62a"></a>
|
531
|
+
<h2 class="memtitle"><span class="permalink"><a href="#gacbe11f93ce20621de82989bbba94e62a">◆ </a></span>glfwGetWaylandDisplay()</h2>
|
532
|
+
|
533
|
+
<div class="memitem">
|
534
|
+
<div class="memproto">
|
535
|
+
<table class="memname">
|
536
|
+
<tr>
|
537
|
+
<td class="memname">struct wl_display * glfwGetWaylandDisplay </td>
|
538
|
+
<td>(</td>
|
539
|
+
<td class="paramtype">void </td>
|
540
|
+
<td class="paramname"></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>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>
|
546
|
+
<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>
|
547
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
548
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
|
549
|
+
|
550
|
+
</div>
|
551
|
+
</div>
|
552
|
+
<a id="ga4f16066bd4c59e2f99418adfcb43dd16" name="ga4f16066bd4c59e2f99418adfcb43dd16"></a>
|
553
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga4f16066bd4c59e2f99418adfcb43dd16">◆ </a></span>glfwGetWaylandMonitor()</h2>
|
554
|
+
|
555
|
+
<div class="memitem">
|
556
|
+
<div class="memproto">
|
557
|
+
<table class="memname">
|
558
|
+
<tr>
|
559
|
+
<td class="memname">struct wl_output * glfwGetWaylandMonitor </td>
|
560
|
+
<td>(</td>
|
561
|
+
<td class="paramtype"><a class="el" href="group__monitor.html#ga8d9efd1cde9426692c73fe40437d0ae3">GLFWmonitor</a> * </td>
|
562
|
+
<td class="paramname"><em>monitor</em></td><td>)</td>
|
563
|
+
<td></td>
|
564
|
+
</tr>
|
565
|
+
</table>
|
566
|
+
</div><div class="memdoc">
|
567
|
+
<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>
|
568
|
+
<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>
|
569
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
570
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
|
571
|
+
|
572
|
+
</div>
|
573
|
+
</div>
|
574
|
+
<a id="ga5c597f2841229d9626f0811cca41ceb3" name="ga5c597f2841229d9626f0811cca41ceb3"></a>
|
575
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga5c597f2841229d9626f0811cca41ceb3">◆ </a></span>glfwGetWaylandWindow()</h2>
|
576
|
+
|
577
|
+
<div class="memitem">
|
578
|
+
<div class="memproto">
|
579
|
+
<table class="memname">
|
580
|
+
<tr>
|
581
|
+
<td class="memname">struct wl_surface * glfwGetWaylandWindow </td>
|
582
|
+
<td>(</td>
|
583
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
584
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
585
|
+
<td></td>
|
586
|
+
</tr>
|
587
|
+
</table>
|
588
|
+
</div><div class="memdoc">
|
589
|
+
<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>
|
590
|
+
<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>
|
591
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
592
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.2. </dd></dl>
|
593
|
+
|
594
|
+
</div>
|
595
|
+
</div>
|
596
|
+
<a id="ga1cd8d973f47aacb5532d368147cc3138" name="ga1cd8d973f47aacb5532d368147cc3138"></a>
|
597
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga1cd8d973f47aacb5532d368147cc3138">◆ </a></span>glfwGetEGLDisplay()</h2>
|
598
|
+
|
599
|
+
<div class="memitem">
|
600
|
+
<div class="memproto">
|
601
|
+
<table class="memname">
|
602
|
+
<tr>
|
603
|
+
<td class="memname">EGLDisplay glfwGetEGLDisplay </td>
|
604
|
+
<td>(</td>
|
605
|
+
<td class="paramtype">void </td>
|
606
|
+
<td class="paramname"></td><td>)</td>
|
607
|
+
<td></td>
|
608
|
+
</tr>
|
609
|
+
</table>
|
610
|
+
</div><div class="memdoc">
|
611
|
+
<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>
|
612
|
+
<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>
|
613
|
+
<dl class="section remark"><dt>Remarks</dt><dd>Because EGL is initialized on demand, this function will return <code>EGL_NO_DISPLAY</code> until the first context has been created via EGL.</dd></dl>
|
614
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
615
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
616
|
+
|
617
|
+
</div>
|
618
|
+
</div>
|
619
|
+
<a id="ga671c5072becd085f4ab5771a9c8efcf1" name="ga671c5072becd085f4ab5771a9c8efcf1"></a>
|
620
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga671c5072becd085f4ab5771a9c8efcf1">◆ </a></span>glfwGetEGLContext()</h2>
|
621
|
+
|
622
|
+
<div class="memitem">
|
623
|
+
<div class="memproto">
|
624
|
+
<table class="memname">
|
625
|
+
<tr>
|
626
|
+
<td class="memname">EGLContext glfwGetEGLContext </td>
|
627
|
+
<td>(</td>
|
628
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
629
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
630
|
+
<td></td>
|
631
|
+
</tr>
|
632
|
+
</table>
|
633
|
+
</div><div class="memdoc">
|
634
|
+
<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>
|
635
|
+
<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>
|
636
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
637
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
638
|
+
|
639
|
+
</div>
|
640
|
+
</div>
|
641
|
+
<a id="ga2199b36117a6a695fec8441d8052eee6" name="ga2199b36117a6a695fec8441d8052eee6"></a>
|
642
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga2199b36117a6a695fec8441d8052eee6">◆ </a></span>glfwGetEGLSurface()</h2>
|
643
|
+
|
644
|
+
<div class="memitem">
|
645
|
+
<div class="memproto">
|
646
|
+
<table class="memname">
|
647
|
+
<tr>
|
648
|
+
<td class="memname">EGLSurface glfwGetEGLSurface </td>
|
649
|
+
<td>(</td>
|
650
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
651
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
652
|
+
<td></td>
|
653
|
+
</tr>
|
654
|
+
</table>
|
655
|
+
</div><div class="memdoc">
|
656
|
+
<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>
|
657
|
+
<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>
|
658
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
659
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.0. </dd></dl>
|
660
|
+
|
661
|
+
</div>
|
662
|
+
</div>
|
663
|
+
<a id="ga3b36e3e3dcf308b776427b6bd73cc132" name="ga3b36e3e3dcf308b776427b6bd73cc132"></a>
|
664
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga3b36e3e3dcf308b776427b6bd73cc132">◆ </a></span>glfwGetOSMesaColorBuffer()</h2>
|
665
|
+
|
666
|
+
<div class="memitem">
|
667
|
+
<div class="memproto">
|
668
|
+
<table class="memname">
|
669
|
+
<tr>
|
670
|
+
<td class="memname">int glfwGetOSMesaColorBuffer </td>
|
671
|
+
<td>(</td>
|
672
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
673
|
+
<td class="paramname"><em>window</em>, </td>
|
674
|
+
</tr>
|
675
|
+
<tr>
|
676
|
+
<td class="paramkey"></td>
|
677
|
+
<td></td>
|
678
|
+
<td class="paramtype">int * </td>
|
679
|
+
<td class="paramname"><em>width</em>, </td>
|
680
|
+
</tr>
|
681
|
+
<tr>
|
682
|
+
<td class="paramkey"></td>
|
683
|
+
<td></td>
|
684
|
+
<td class="paramtype">int * </td>
|
685
|
+
<td class="paramname"><em>height</em>, </td>
|
686
|
+
</tr>
|
687
|
+
<tr>
|
688
|
+
<td class="paramkey"></td>
|
689
|
+
<td></td>
|
690
|
+
<td class="paramtype">int * </td>
|
691
|
+
<td class="paramname"><em>format</em>, </td>
|
692
|
+
</tr>
|
693
|
+
<tr>
|
694
|
+
<td class="paramkey"></td>
|
695
|
+
<td></td>
|
696
|
+
<td class="paramtype">void ** </td>
|
697
|
+
<td class="paramname"><em>buffer</em> </td>
|
698
|
+
</tr>
|
699
|
+
<tr>
|
700
|
+
<td></td>
|
701
|
+
<td>)</td>
|
702
|
+
<td></td><td></td>
|
703
|
+
</tr>
|
704
|
+
</table>
|
705
|
+
</div><div class="memdoc">
|
706
|
+
<dl class="params"><dt>Parameters</dt><dd>
|
707
|
+
<table class="params">
|
708
|
+
<tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>The window whose color buffer to retrieve. </td></tr>
|
709
|
+
<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>
|
710
|
+
<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>
|
711
|
+
<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>
|
712
|
+
<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>
|
713
|
+
</table>
|
714
|
+
</dd>
|
715
|
+
</dl>
|
716
|
+
<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>
|
717
|
+
<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>
|
718
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
719
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl>
|
720
|
+
|
721
|
+
</div>
|
722
|
+
</div>
|
723
|
+
<a id="ga6b64039ffc88a7a2f57f0956c0c75d53" name="ga6b64039ffc88a7a2f57f0956c0c75d53"></a>
|
724
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga6b64039ffc88a7a2f57f0956c0c75d53">◆ </a></span>glfwGetOSMesaDepthBuffer()</h2>
|
725
|
+
|
726
|
+
<div class="memitem">
|
727
|
+
<div class="memproto">
|
728
|
+
<table class="memname">
|
729
|
+
<tr>
|
730
|
+
<td class="memname">int glfwGetOSMesaDepthBuffer </td>
|
731
|
+
<td>(</td>
|
732
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
733
|
+
<td class="paramname"><em>window</em>, </td>
|
734
|
+
</tr>
|
735
|
+
<tr>
|
736
|
+
<td class="paramkey"></td>
|
737
|
+
<td></td>
|
738
|
+
<td class="paramtype">int * </td>
|
739
|
+
<td class="paramname"><em>width</em>, </td>
|
740
|
+
</tr>
|
741
|
+
<tr>
|
742
|
+
<td class="paramkey"></td>
|
743
|
+
<td></td>
|
744
|
+
<td class="paramtype">int * </td>
|
745
|
+
<td class="paramname"><em>height</em>, </td>
|
746
|
+
</tr>
|
747
|
+
<tr>
|
748
|
+
<td class="paramkey"></td>
|
749
|
+
<td></td>
|
750
|
+
<td class="paramtype">int * </td>
|
751
|
+
<td class="paramname"><em>bytesPerValue</em>, </td>
|
752
|
+
</tr>
|
753
|
+
<tr>
|
754
|
+
<td class="paramkey"></td>
|
755
|
+
<td></td>
|
756
|
+
<td class="paramtype">void ** </td>
|
757
|
+
<td class="paramname"><em>buffer</em> </td>
|
758
|
+
</tr>
|
759
|
+
<tr>
|
760
|
+
<td></td>
|
761
|
+
<td>)</td>
|
762
|
+
<td></td><td></td>
|
763
|
+
</tr>
|
764
|
+
</table>
|
765
|
+
</div><div class="memdoc">
|
766
|
+
<dl class="params"><dt>Parameters</dt><dd>
|
767
|
+
<table class="params">
|
768
|
+
<tr><td class="paramdir">[in]</td><td class="paramname">window</td><td>The window whose depth buffer to retrieve. </td></tr>
|
769
|
+
<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>
|
770
|
+
<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>
|
771
|
+
<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>
|
772
|
+
<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>
|
773
|
+
</table>
|
774
|
+
</dd>
|
775
|
+
</dl>
|
776
|
+
<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>
|
777
|
+
<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>
|
778
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
779
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl>
|
780
|
+
|
781
|
+
</div>
|
782
|
+
</div>
|
783
|
+
<a id="ga9e47700080094eb569cb053afaa88773" name="ga9e47700080094eb569cb053afaa88773"></a>
|
784
|
+
<h2 class="memtitle"><span class="permalink"><a href="#ga9e47700080094eb569cb053afaa88773">◆ </a></span>glfwGetOSMesaContext()</h2>
|
785
|
+
|
786
|
+
<div class="memitem">
|
787
|
+
<div class="memproto">
|
788
|
+
<table class="memname">
|
789
|
+
<tr>
|
790
|
+
<td class="memname">OSMesaContext glfwGetOSMesaContext </td>
|
791
|
+
<td>(</td>
|
792
|
+
<td class="paramtype"><a class="el" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a> * </td>
|
793
|
+
<td class="paramname"><em>window</em></td><td>)</td>
|
794
|
+
<td></td>
|
795
|
+
</tr>
|
796
|
+
</table>
|
797
|
+
</div><div class="memdoc">
|
798
|
+
<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>
|
799
|
+
<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>
|
800
|
+
<dl class="section user"><dt>Thread safety</dt><dd>This function may be called from any thread. Access is not synchronized.</dd></dl>
|
801
|
+
<dl class="section since"><dt>Since</dt><dd>Added in version 3.3. </dd></dl>
|
802
|
+
|
803
|
+
</div>
|
804
|
+
</div>
|
805
|
+
</div><!-- contents -->
|
806
|
+
<address class="footer">
|
807
|
+
<p>
|
808
|
+
Last update on Thu Dec 14 2023 for GLFW 3.3.9
|
809
|
+
</p>
|
810
|
+
</address>
|
811
|
+
</body>
|
812
|
+
</html>
|