ruby_rpg 0.0.1 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -0
- data/bin/build.bash +13 -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/engine/autoloader.rb +11 -0
- data/lib/engine/camera.rb +13 -0
- data/lib/engine/component.rb +63 -0
- data/lib/engine/components/audio_source.rb +41 -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/debugging.rb +41 -0
- data/lib/engine/engine.rb +139 -0
- data/lib/engine/font.rb +74 -0
- data/lib/engine/game_object.rb +218 -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 +53 -0
- data/lib/engine/video_mode.rb +37 -0
- data/lib/engine/window.rb +126 -0
- data/lib/ruby_rpg.rb +53 -0
- metadata +500 -2
@@ -0,0 +1,259 @@
|
|
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: Context guide</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
|
+
<!-- window showing the filter options -->
|
49
|
+
<div id="MSearchSelectWindow"
|
50
|
+
onmouseover="return searchBox.OnSearchSelectShow()"
|
51
|
+
onmouseout="return searchBox.OnSearchSelectHide()"
|
52
|
+
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<!-- iframe showing the search results (closed by default) -->
|
56
|
+
<div id="MSearchResultsWindow">
|
57
|
+
<div id="MSearchResults">
|
58
|
+
<div class="SRPage">
|
59
|
+
<div id="SRIndex">
|
60
|
+
<div id="SRResults"></div>
|
61
|
+
<div class="SRStatus" id="Loading">Loading...</div>
|
62
|
+
<div class="SRStatus" id="Searching">Searching...</div>
|
63
|
+
<div class="SRStatus" id="NoMatches">No Matches</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
</div><!-- top -->
|
70
|
+
<div><div class="header">
|
71
|
+
<div class="headertitle"><div class="title">Context guide</div></div>
|
72
|
+
</div><!--header-->
|
73
|
+
<div class="contents">
|
74
|
+
<div class="toc"><h3>Table of Contents</h3>
|
75
|
+
<ul><li class="level1"><a href="#context_object">Context objects</a><ul><li class="level2"><a href="#context_hints">Context creation hints</a></li>
|
76
|
+
<li class="level2"><a href="#context_sharing">Context object sharing</a></li>
|
77
|
+
<li class="level2"><a href="#context_offscreen">Offscreen contexts</a></li>
|
78
|
+
<li class="level2"><a href="#context_less">Windows without contexts</a></li>
|
79
|
+
</ul>
|
80
|
+
</li>
|
81
|
+
<li class="level1"><a href="#context_current">Current context</a></li>
|
82
|
+
<li class="level1"><a href="#context_swap">Buffer swapping</a></li>
|
83
|
+
<li class="level1"><a href="#context_glext">OpenGL and OpenGL ES extensions</a><ul><li class="level2"><a href="#context_glext_auto">Loading extension with a loader library</a></li>
|
84
|
+
<li class="level2"><a href="#context_glext_manual">Loading extensions manually</a><ul><li class="level3"><a href="#context_glext_header">The glext.h header</a></li>
|
85
|
+
<li class="level3"><a href="#context_glext_string">Checking for extensions</a></li>
|
86
|
+
<li class="level3"><a href="#context_glext_proc">Fetching function pointers</a></li>
|
87
|
+
</ul>
|
88
|
+
</li>
|
89
|
+
</ul>
|
90
|
+
</li>
|
91
|
+
</ul>
|
92
|
+
</div>
|
93
|
+
<div class="textblock"><p>This guide introduces the OpenGL and OpenGL ES context related functions of GLFW. For details on a specific function in this category, see the <a class="el" href="group__context.html">Context reference</a>. There are also guides for the other areas of the GLFW API.</p>
|
94
|
+
<ul>
|
95
|
+
<li><a class="el" href="intro_guide.html">Introduction to the API</a></li>
|
96
|
+
<li><a class="el" href="window_guide.html">Window guide</a></li>
|
97
|
+
<li><a class="el" href="vulkan_guide.html">Vulkan guide</a></li>
|
98
|
+
<li><a class="el" href="monitor_guide.html">Monitor guide</a></li>
|
99
|
+
<li><a class="el" href="input_guide.html">Input guide</a></li>
|
100
|
+
</ul>
|
101
|
+
<h1><a class="anchor" id="context_object"></a>
|
102
|
+
Context objects</h1>
|
103
|
+
<p>A window object encapsulates both a top-level window and an OpenGL or OpenGL ES context. It is created with <a class="el" href="group__window.html#ga3555a418df92ad53f917597fe2f64aeb">glfwCreateWindow</a> and destroyed with <a class="el" href="group__window.html#gacdf43e51376051d2c091662e9fe3d7b2">glfwDestroyWindow</a> or <a class="el" href="group__init.html#gaaae48c0a18607ea4a4ba951d939f0901">glfwTerminate</a>. See <a class="el" href="window_guide.html#window_creation">Window creation</a> for more information.</p>
|
104
|
+
<p>As the window and context are inseparably linked, the window object also serves as the context handle.</p>
|
105
|
+
<p>To test the creation of various kinds of contexts and see their properties, run the <code>glfwinfo</code> test program.</p>
|
106
|
+
<dl class="section note"><dt>Note</dt><dd>Vulkan does not have a context and the Vulkan instance is created via the Vulkan API itself. If you will be using Vulkan to render to a window, disable context creation by setting the <a class="el" href="window_guide.html#GLFW_CLIENT_API_hint">GLFW_CLIENT_API</a> hint to <code>GLFW_NO_API</code>. For more information, see the <a class="el" href="vulkan_guide.html">Vulkan guide</a>.</dd></dl>
|
107
|
+
<h2><a class="anchor" id="context_hints"></a>
|
108
|
+
Context creation hints</h2>
|
109
|
+
<p>There are a number of hints, specified using <a class="el" href="group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033">glfwWindowHint</a>, related to what kind of context is created. See <a class="el" href="window_guide.html#window_hints_ctx">context related hints</a> in the window guide.</p>
|
110
|
+
<h2><a class="anchor" id="context_sharing"></a>
|
111
|
+
Context object sharing</h2>
|
112
|
+
<p>When creating a window and its OpenGL or OpenGL ES context with <a class="el" href="group__window.html#ga3555a418df92ad53f917597fe2f64aeb">glfwCreateWindow</a>, you can specify another window whose context the new one should share its objects (textures, vertex and element buffers, etc.) with.</p>
|
113
|
+
<div class="fragment"><div class="line"><a class="code hl_typedef" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* second_window = <a class="code hl_function" href="group__window.html#ga3555a418df92ad53f917597fe2f64aeb">glfwCreateWindow</a>(640, 480, <span class="stringliteral">"Second Window"</span>, NULL, first_window);</div>
|
114
|
+
<div class="ttc" id="agroup__window_html_ga3555a418df92ad53f917597fe2f64aeb"><div class="ttname"><a href="group__window.html#ga3555a418df92ad53f917597fe2f64aeb">glfwCreateWindow</a></div><div class="ttdeci">GLFWwindow * glfwCreateWindow(int width, int height, const char *title, GLFWmonitor *monitor, GLFWwindow *share)</div><div class="ttdoc">Creates a window and its associated context.</div></div>
|
115
|
+
<div class="ttc" id="agroup__window_html_ga3c96d80d363e67d13a41b5d1821f3242"><div class="ttname"><a href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a></div><div class="ttdeci">struct GLFWwindow GLFWwindow</div><div class="ttdoc">Opaque window object.</div><div class="ttdef"><b>Definition</b> glfw3.h:1195</div></div>
|
116
|
+
</div><!-- fragment --><p>Object sharing is implemented by the operating system and graphics driver. On platforms where it is possible to choose which types of objects are shared, GLFW requests that all types are shared.</p>
|
117
|
+
<p>See the relevant chapter of the <a href="https://www.opengl.org/registry/">OpenGL</a> or <a href="https://www.khronos.org/opengles/">OpenGL ES</a> reference documents for more information. The name and number of this chapter unfortunately varies between versions and APIs, but has at times been named <em>Shared Objects and Multiple Contexts</em>.</p>
|
118
|
+
<p>GLFW comes with a bare-bones object sharing example program called <code>sharing</code>.</p>
|
119
|
+
<h2><a class="anchor" id="context_offscreen"></a>
|
120
|
+
Offscreen contexts</h2>
|
121
|
+
<p>GLFW doesn't support creating contexts without an associated window. However, contexts with hidden windows can be created with the <a class="el" href="window_guide.html#GLFW_VISIBLE_hint">GLFW_VISIBLE</a> window hint.</p>
|
122
|
+
<div class="fragment"><div class="line"><a class="code hl_function" href="group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033">glfwWindowHint</a>(<a class="code hl_define" href="group__window.html#gafb3cdc45297e06d8f1eb13adc69ca6c4">GLFW_VISIBLE</a>, <a class="code hl_define" href="group__init.html#gac877fe3b627d21ef3a0a23e0a73ba8c5">GLFW_FALSE</a>);</div>
|
123
|
+
<div class="line"> </div>
|
124
|
+
<div class="line"><a class="code hl_typedef" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* offscreen_context = <a class="code hl_function" href="group__window.html#ga3555a418df92ad53f917597fe2f64aeb">glfwCreateWindow</a>(640, 480, <span class="stringliteral">""</span>, NULL, NULL);</div>
|
125
|
+
<div class="ttc" id="agroup__init_html_gac877fe3b627d21ef3a0a23e0a73ba8c5"><div class="ttname"><a href="group__init.html#gac877fe3b627d21ef3a0a23e0a73ba8c5">GLFW_FALSE</a></div><div class="ttdeci">#define GLFW_FALSE</div><div class="ttdoc">Zero.</div><div class="ttdef"><b>Definition</b> glfw3.h:321</div></div>
|
126
|
+
<div class="ttc" id="agroup__window_html_ga7d9c8c62384b1e2821c4dc48952d2033"><div class="ttname"><a href="group__window.html#ga7d9c8c62384b1e2821c4dc48952d2033">glfwWindowHint</a></div><div class="ttdeci">void glfwWindowHint(int hint, int value)</div><div class="ttdoc">Sets the specified window hint to the desired value.</div></div>
|
127
|
+
<div class="ttc" id="agroup__window_html_gafb3cdc45297e06d8f1eb13adc69ca6c4"><div class="ttname"><a href="group__window.html#gafb3cdc45297e06d8f1eb13adc69ca6c4">GLFW_VISIBLE</a></div><div class="ttdeci">#define GLFW_VISIBLE</div><div class="ttdoc">Window visibility window hint and attribute.</div><div class="ttdef"><b>Definition</b> glfw3.h:816</div></div>
|
128
|
+
</div><!-- fragment --><p>The window never needs to be shown and its context can be used as a plain offscreen context. Depending on the window manager, the size of a hidden window's framebuffer may not be usable or modifiable, so framebuffer objects are recommended for rendering with such contexts.</p>
|
129
|
+
<p>You should still <a class="el" href="input_guide.html#events">process events</a> as long as you have at least one window, even if none of them are visible.</p>
|
130
|
+
<p><b>macOS:</b> The first time a window is created the menu bar is created. This is not desirable for example when writing a command-line only application. Menu bar creation can be disabled with the <a class="el" href="group__init.html#ga71e0b4ce2f2696a84a9b8c5e12dc70cf">GLFW_COCOA_MENUBAR</a> init hint.</p>
|
131
|
+
<h2><a class="anchor" id="context_less"></a>
|
132
|
+
Windows without contexts</h2>
|
133
|
+
<p>You can disable context creation by setting the <a class="el" href="window_guide.html#GLFW_CLIENT_API_hint">GLFW_CLIENT_API</a> hint to <code>GLFW_NO_API</code>.</p>
|
134
|
+
<p>Windows without contexts should not be passed to <a class="el" href="group__context.html#ga1c04dc242268f827290fe40aa1c91157">glfwMakeContextCurrent</a> or <a class="el" href="group__window.html#ga15a5a1ee5b3c2ca6b15ca209a12efd14">glfwSwapBuffers</a>. Doing this generates a <a class="el" href="group__errors.html#gacff24d2757da752ae4c80bf452356487">GLFW_NO_WINDOW_CONTEXT</a> error.</p>
|
135
|
+
<h1><a class="anchor" id="context_current"></a>
|
136
|
+
Current context</h1>
|
137
|
+
<p>Before you can make OpenGL or OpenGL ES calls, you need to have a current context of the correct type. A context can only be current for a single thread at a time, and a thread can only have a single context current at a time.</p>
|
138
|
+
<p>When moving a context between threads, you must make it non-current on the old thread before making it current on the new one.</p>
|
139
|
+
<p>The context of a window is made current with <a class="el" href="group__context.html#ga1c04dc242268f827290fe40aa1c91157">glfwMakeContextCurrent</a>.</p>
|
140
|
+
<div class="fragment"><div class="line"><a class="code hl_function" href="group__context.html#ga1c04dc242268f827290fe40aa1c91157">glfwMakeContextCurrent</a>(window);</div>
|
141
|
+
<div class="ttc" id="agroup__context_html_ga1c04dc242268f827290fe40aa1c91157"><div class="ttname"><a href="group__context.html#ga1c04dc242268f827290fe40aa1c91157">glfwMakeContextCurrent</a></div><div class="ttdeci">void glfwMakeContextCurrent(GLFWwindow *window)</div><div class="ttdoc">Makes the context of the specified window current for the calling thread.</div></div>
|
142
|
+
</div><!-- fragment --><p>The window of the current context is returned by <a class="el" href="group__context.html#gad94e80185397a6cf5fe2ab30567af71c">glfwGetCurrentContext</a>.</p>
|
143
|
+
<div class="fragment"><div class="line"><a class="code hl_typedef" href="group__window.html#ga3c96d80d363e67d13a41b5d1821f3242">GLFWwindow</a>* window = <a class="code hl_function" href="group__context.html#gad94e80185397a6cf5fe2ab30567af71c">glfwGetCurrentContext</a>();</div>
|
144
|
+
<div class="ttc" id="agroup__context_html_gad94e80185397a6cf5fe2ab30567af71c"><div class="ttname"><a href="group__context.html#gad94e80185397a6cf5fe2ab30567af71c">glfwGetCurrentContext</a></div><div class="ttdeci">GLFWwindow * glfwGetCurrentContext(void)</div><div class="ttdoc">Returns the window whose context is current on the calling thread.</div></div>
|
145
|
+
</div><!-- fragment --><p>The following GLFW functions require a context to be current. Calling any these functions without a current context will generate a <a class="el" href="group__errors.html#gaa8290386e9528ccb9e42a3a4e16fc0d0">GLFW_NO_CURRENT_CONTEXT</a> error.</p>
|
146
|
+
<ul>
|
147
|
+
<li><a class="el" href="group__context.html#ga6d4e0cdf151b5e579bd67f13202994ed">glfwSwapInterval</a></li>
|
148
|
+
<li><a class="el" href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a></li>
|
149
|
+
<li><a class="el" href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a></li>
|
150
|
+
</ul>
|
151
|
+
<h1><a class="anchor" id="context_swap"></a>
|
152
|
+
Buffer swapping</h1>
|
153
|
+
<p>See <a class="el" href="window_guide.html#buffer_swap">Buffer swapping</a> in the window guide.</p>
|
154
|
+
<h1><a class="anchor" id="context_glext"></a>
|
155
|
+
OpenGL and OpenGL ES extensions</h1>
|
156
|
+
<p>One of the benefits of OpenGL and OpenGL ES is their extensibility. Hardware vendors may include extensions in their implementations that extend the API before that functionality is included in a new version of the OpenGL or OpenGL ES specification, and some extensions are never included and remain as extensions until they become obsolete.</p>
|
157
|
+
<p>An extension is defined by:</p>
|
158
|
+
<ul>
|
159
|
+
<li>An extension name (e.g. <code>GL_ARB_gl_spirv</code>)</li>
|
160
|
+
<li>New OpenGL tokens (e.g. <code>GL_SPIR_V_BINARY_ARB</code>)</li>
|
161
|
+
<li>New OpenGL functions (e.g. <code>glSpecializeShaderARB</code>)</li>
|
162
|
+
</ul>
|
163
|
+
<p>Note the <code>ARB</code> affix, which stands for Architecture Review Board and is used for official extensions. The extension above was created by the ARB, but there are many different affixes, like <code>NV</code> for Nvidia and <code>AMD</code> for, well, AMD. Any group may also use the generic <code>EXT</code> affix. Lists of extensions, together with their specifications, can be found at the <a href="https://www.opengl.org/registry/">OpenGL Registry</a> and <a href="https://www.khronos.org/registry/gles/">OpenGL ES Registry</a>.</p>
|
164
|
+
<h2><a class="anchor" id="context_glext_auto"></a>
|
165
|
+
Loading extension with a loader library</h2>
|
166
|
+
<p>An extension loader library is the easiest and best way to access both OpenGL and OpenGL ES extensions and modern versions of the core OpenGL or OpenGL ES APIs. They will take care of all the details of declaring and loading everything you need. One such library is <a href="https://github.com/Dav1dde/glad">glad</a> and there are several others.</p>
|
167
|
+
<p>The following example will use glad but all extension loader libraries work similarly.</p>
|
168
|
+
<p>First you need to generate the source files using the glad Python script. This example generates a loader for any version of OpenGL, which is the default for both GLFW and glad, but loaders for OpenGL ES, as well as loaders for specific API versions and extension sets can be generated. The generated files are written to the <code>output</code> directory.</p>
|
169
|
+
<div class="fragment"><div class="line">python main.py --generator c --no-loader --out-path output</div>
|
170
|
+
</div><!-- fragment --><p>The <code>--no-loader</code> option is added because GLFW already provides a function for loading OpenGL and OpenGL ES function pointers, one that automatically uses the selected context creation API, and glad can call this instead of having to implement its own. There are several other command-line options as well. See the glad documentation for details.</p>
|
171
|
+
<p>Add the generated <code>output/src/glad.c</code>, <code>output/include/glad/glad.h</code> and <code>output/include/KHR/khrplatform.h</code> files to your build. Then you need to include the glad header file, which will replace the OpenGL header of your development environment. By including the glad header before the GLFW header, it suppresses the development environment's OpenGL or OpenGL ES header.</p>
|
172
|
+
<div class="fragment"><div class="line"><span class="preprocessor">#include <glad/glad.h></span></div>
|
173
|
+
<div class="line"><span class="preprocessor">#include <<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>></span></div>
|
174
|
+
<div class="ttc" id="aglfw3_8h_html"><div class="ttname"><a href="glfw3_8h.html">glfw3.h</a></div><div class="ttdoc">The header of the GLFW 3 API.</div></div>
|
175
|
+
</div><!-- fragment --><p>Finally, you need to initialize glad once you have a suitable current context.</p>
|
176
|
+
<div class="fragment"><div class="line">window = <a class="code hl_function" href="group__window.html#ga3555a418df92ad53f917597fe2f64aeb">glfwCreateWindow</a>(640, 480, <span class="stringliteral">"My Window"</span>, NULL, NULL);</div>
|
177
|
+
<div class="line"><span class="keywordflow">if</span> (!window)</div>
|
178
|
+
<div class="line">{</div>
|
179
|
+
<div class="line"> ...</div>
|
180
|
+
<div class="line">}</div>
|
181
|
+
<div class="line"> </div>
|
182
|
+
<div class="line"><a class="code hl_function" href="group__context.html#ga1c04dc242268f827290fe40aa1c91157">glfwMakeContextCurrent</a>(window);</div>
|
183
|
+
<div class="line"> </div>
|
184
|
+
<div class="line">gladLoadGLLoader((GLADloadproc) <a class="code hl_function" href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a>);</div>
|
185
|
+
<div class="ttc" id="agroup__context_html_ga35f1837e6f666781842483937612f163"><div class="ttname"><a href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a></div><div class="ttdeci">GLFWglproc glfwGetProcAddress(const char *procname)</div><div class="ttdoc">Returns the address of the specified function for the current context.</div></div>
|
186
|
+
</div><!-- fragment --><p>Once glad has been loaded, you have access to all OpenGL core and extension functions supported by both the context you created and the glad loader you generated. After that, you are ready to start rendering.</p>
|
187
|
+
<p>You can specify a minimum required OpenGL or OpenGL ES version with <a class="el" href="window_guide.html#window_hints_ctx">context hints</a>. If your needs are more complex, you can check the actual OpenGL or OpenGL ES version with <a class="el" href="window_guide.html#window_attribs_ctx">context attributes</a>, or you can check whether a specific version is supported by the current context with the <code>GLAD_GL_VERSION_x_x</code> booleans.</p>
|
188
|
+
<div class="fragment"><div class="line"><span class="keywordflow">if</span> (GLAD_GL_VERSION_3_2)</div>
|
189
|
+
<div class="line">{</div>
|
190
|
+
<div class="line"> <span class="comment">// Call OpenGL 3.2+ specific code</span></div>
|
191
|
+
<div class="line">}</div>
|
192
|
+
</div><!-- fragment --><p>To check whether a specific extension is supported, use the <code>GLAD_GL_xxx</code> booleans.</p>
|
193
|
+
<div class="fragment"><div class="line"><span class="keywordflow">if</span> (GLAD_GL_ARB_gl_spirv)</div>
|
194
|
+
<div class="line">{</div>
|
195
|
+
<div class="line"> <span class="comment">// Use GL_ARB_gl_spirv</span></div>
|
196
|
+
<div class="line">}</div>
|
197
|
+
</div><!-- fragment --><h2><a class="anchor" id="context_glext_manual"></a>
|
198
|
+
Loading extensions manually</h2>
|
199
|
+
<p><b>Do not use this technique</b> unless it is absolutely necessary. An <a class="el" href="context_guide.html#context_glext_auto">extension loader library</a> will save you a ton of tedious, repetitive, error prone work.</p>
|
200
|
+
<p>To use a certain extension, you must first check whether the context supports that extension and then, if it introduces new functions, retrieve the pointers to those functions. GLFW provides <a class="el" href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a> and <a class="el" href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a> for manual loading of extensions and new API functions.</p>
|
201
|
+
<p>This section will demonstrate manual loading of OpenGL extensions. The loading of OpenGL ES extensions is identical except for the name of the extension header.</p>
|
202
|
+
<h3><a class="anchor" id="context_glext_header"></a>
|
203
|
+
The glext.h header</h3>
|
204
|
+
<p>The <code>glext.h</code> extension header is a continually updated file that defines the interfaces for all OpenGL extensions. The latest version of this can always be found at the <a href="https://www.opengl.org/registry/">OpenGL Registry</a>. There are also extension headers for the various versions of OpenGL ES at the <a href="https://www.khronos.org/registry/gles/">OpenGL ES Registry</a>. It it strongly recommended that you use your own copy of the extension header, as the one included in your development environment may be several years out of date and may not include the extensions you wish to use.</p>
|
205
|
+
<p>The header defines function pointer types for all functions of all extensions it supports. These have names like <code>PFNGLSPECIALIZESHADERARBPROC</code> (for <code>glSpecializeShaderARB</code>), i.e. the name is made uppercase and <code>PFN</code> (pointer to function) and <code>PROC</code> (procedure) are added to the ends.</p>
|
206
|
+
<p>To include the extension header, define <a class="el" href="build_guide.html#GLFW_INCLUDE_GLEXT">GLFW_INCLUDE_GLEXT</a> before including the GLFW header.</p>
|
207
|
+
<div class="fragment"><div class="line"><span class="preprocessor">#define GLFW_INCLUDE_GLEXT</span></div>
|
208
|
+
<div class="line"><span class="preprocessor">#include <<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>></span></div>
|
209
|
+
</div><!-- fragment --><h3><a class="anchor" id="context_glext_string"></a>
|
210
|
+
Checking for extensions</h3>
|
211
|
+
<p>A given machine may not actually support the extension (it may have older drivers or a graphics card that lacks the necessary hardware features), so it is necessary to check at run-time whether the context supports the extension. This is done with <a class="el" href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a>.</p>
|
212
|
+
<div class="fragment"><div class="line"><span class="keywordflow">if</span> (<a class="code hl_function" href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a>(<span class="stringliteral">"GL_ARB_gl_spirv"</span>))</div>
|
213
|
+
<div class="line">{</div>
|
214
|
+
<div class="line"> <span class="comment">// The extension is supported by the current context</span></div>
|
215
|
+
<div class="line">}</div>
|
216
|
+
<div class="ttc" id="agroup__context_html_ga87425065c011cef1ebd6aac75e059dfa"><div class="ttname"><a href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a></div><div class="ttdeci">int glfwExtensionSupported(const char *extension)</div><div class="ttdoc">Returns whether the specified extension is available.</div></div>
|
217
|
+
</div><!-- fragment --><p>The argument is a null terminated ASCII string with the extension name. If the extension is supported, <a class="el" href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a> returns <code>GLFW_TRUE</code>, otherwise it returns <code>GLFW_FALSE</code>.</p>
|
218
|
+
<h3><a class="anchor" id="context_glext_proc"></a>
|
219
|
+
Fetching function pointers</h3>
|
220
|
+
<p>Many extensions, though not all, require the use of new OpenGL functions. These functions often do not have entry points in the client API libraries of your operating system, making it necessary to fetch them at run time. You can retrieve pointers to these functions with <a class="el" href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a>.</p>
|
221
|
+
<div class="fragment"><div class="line">PFNGLSPECIALIZESHADERARBPROC pfnSpecializeShaderARB = <a class="code hl_function" href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a>(<span class="stringliteral">"glSpecializeShaderARB"</span>);</div>
|
222
|
+
</div><!-- fragment --><p>In general, you should avoid giving the function pointer variables the (exact) same name as the function, as this may confuse your linker. Instead, you can use a different prefix, like above, or some other naming scheme.</p>
|
223
|
+
<p>Now that all the pieces have been introduced, here is what they might look like when used together.</p>
|
224
|
+
<div class="fragment"><div class="line"><span class="preprocessor">#define GLFW_INCLUDE_GLEXT</span></div>
|
225
|
+
<div class="line"><span class="preprocessor">#include <<a class="code" href="glfw3_8h.html">GLFW/glfw3.h</a>></span></div>
|
226
|
+
<div class="line"> </div>
|
227
|
+
<div class="line"><span class="preprocessor">#define glSpecializeShaderARB pfnSpecializeShaderARB</span></div>
|
228
|
+
<div class="line">PFNGLSPECIALIZESHADERARBPROC pfnSpecializeShaderARB;</div>
|
229
|
+
<div class="line"> </div>
|
230
|
+
<div class="line"><span class="comment">// Flag indicating whether the extension is supported</span></div>
|
231
|
+
<div class="line"><span class="keywordtype">int</span> has_ARB_gl_spirv = 0;</div>
|
232
|
+
<div class="line"> </div>
|
233
|
+
<div class="line"><span class="keywordtype">void</span> load_extensions(<span class="keywordtype">void</span>)</div>
|
234
|
+
<div class="line">{</div>
|
235
|
+
<div class="line"> <span class="keywordflow">if</span> (<a class="code hl_function" href="group__context.html#ga87425065c011cef1ebd6aac75e059dfa">glfwExtensionSupported</a>(<span class="stringliteral">"GL_ARB_gl_spirv"</span>))</div>
|
236
|
+
<div class="line"> {</div>
|
237
|
+
<div class="line"> pfnSpecializeShaderARB = (PFNGLSPECIALIZESHADERARBPROC)</div>
|
238
|
+
<div class="line"> <a class="code hl_function" href="group__context.html#ga35f1837e6f666781842483937612f163">glfwGetProcAddress</a>(<span class="stringliteral">"glSpecializeShaderARB"</span>);</div>
|
239
|
+
<div class="line"> has_ARB_gl_spirv = 1;</div>
|
240
|
+
<div class="line"> }</div>
|
241
|
+
<div class="line">}</div>
|
242
|
+
<div class="line"> </div>
|
243
|
+
<div class="line"><span class="keywordtype">void</span> some_function(<span class="keywordtype">void</span>)</div>
|
244
|
+
<div class="line">{</div>
|
245
|
+
<div class="line"> <span class="keywordflow">if</span> (has_ARB_gl_spirv)</div>
|
246
|
+
<div class="line"> {</div>
|
247
|
+
<div class="line"> <span class="comment">// Now the extension function can be called as usual</span></div>
|
248
|
+
<div class="line"> glSpecializeShaderARB(...);</div>
|
249
|
+
<div class="line"> }</div>
|
250
|
+
<div class="line">}</div>
|
251
|
+
</div><!-- fragment --> </div></div><!-- contents -->
|
252
|
+
</div><!-- PageDoc -->
|
253
|
+
<address class="footer">
|
254
|
+
<p>
|
255
|
+
Last update on Thu Dec 14 2023 for GLFW 3.3.9
|
256
|
+
</p>
|
257
|
+
</address>
|
258
|
+
</body>
|
259
|
+
</html>
|
@@ -0,0 +1,88 @@
|
|
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: Deprecated List</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
|
+
<!-- window showing the filter options -->
|
49
|
+
<div id="MSearchSelectWindow"
|
50
|
+
onmouseover="return searchBox.OnSearchSelectShow()"
|
51
|
+
onmouseout="return searchBox.OnSearchSelectHide()"
|
52
|
+
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<!-- iframe showing the search results (closed by default) -->
|
56
|
+
<div id="MSearchResultsWindow">
|
57
|
+
<div id="MSearchResults">
|
58
|
+
<div class="SRPage">
|
59
|
+
<div id="SRIndex">
|
60
|
+
<div id="SRResults"></div>
|
61
|
+
<div class="SRStatus" id="Loading">Loading...</div>
|
62
|
+
<div class="SRStatus" id="Searching">Searching...</div>
|
63
|
+
<div class="SRStatus" id="NoMatches">No Matches</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
</div><!-- top -->
|
70
|
+
<div><div class="header">
|
71
|
+
<div class="headertitle"><div class="title">Deprecated List</div></div>
|
72
|
+
</div><!--header-->
|
73
|
+
<div class="contents">
|
74
|
+
<div class="textblock"><dl class="reflist">
|
75
|
+
<dt>Global <a class="el" href="group__input.html#gac3cf64f90b6219c05ac7b7822d5a4b8f">GLFWcharmodsfun</a> )(GLFWwindow *window, unsigned int codepoint, int mods)</dt>
|
76
|
+
<dd><a class="anchor" id="_deprecated000001"></a>Scheduled for removal in version 4.0. </dd>
|
77
|
+
<dt>Global <a class="el" href="group__input.html#ga0b7f4ad13c2b17435ff13b6dcfb4e43c">glfwSetCharModsCallback</a> (GLFWwindow *window, GLFWcharmodsfun callback)</dt>
|
78
|
+
<dd><a class="anchor" id="_deprecated000002"></a>Scheduled for removal in version 4.0.</dd>
|
79
|
+
</dl>
|
80
|
+
</div></div><!-- contents -->
|
81
|
+
</div><!-- PageDoc -->
|
82
|
+
<address class="footer">
|
83
|
+
<p>
|
84
|
+
Last update on Thu Dec 14 2023 for GLFW 3.3.9
|
85
|
+
</p>
|
86
|
+
</address>
|
87
|
+
</body>
|
88
|
+
</html>
|
@@ -0,0 +1,85 @@
|
|
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: docs Directory Reference</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
|
+
<!-- window showing the filter options -->
|
49
|
+
<div id="MSearchSelectWindow"
|
50
|
+
onmouseover="return searchBox.OnSearchSelectShow()"
|
51
|
+
onmouseout="return searchBox.OnSearchSelectHide()"
|
52
|
+
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<!-- iframe showing the search results (closed by default) -->
|
56
|
+
<div id="MSearchResultsWindow">
|
57
|
+
<div id="MSearchResults">
|
58
|
+
<div class="SRPage">
|
59
|
+
<div id="SRIndex">
|
60
|
+
<div id="SRResults"></div>
|
61
|
+
<div class="SRStatus" id="Loading">Loading...</div>
|
62
|
+
<div class="SRStatus" id="Searching">Searching...</div>
|
63
|
+
<div class="SRStatus" id="NoMatches">No Matches</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<div id="nav-path" class="navpath">
|
70
|
+
<ul>
|
71
|
+
<li class="navelem"><a class="el" href="dir_2dcebcdf14b42e92a6ed85c61bda6b9d.html">glfw-3.3.9</a></li><li class="navelem"><a class="el" href="dir_08423ce7729c4554356a7de7171ba263.html">docs</a></li> </ul>
|
72
|
+
</div>
|
73
|
+
</div><!-- top -->
|
74
|
+
<div class="header">
|
75
|
+
<div class="headertitle"><div class="title">docs Directory Reference</div></div>
|
76
|
+
</div><!--header-->
|
77
|
+
<div class="contents">
|
78
|
+
</div><!-- contents -->
|
79
|
+
<address class="footer">
|
80
|
+
<p>
|
81
|
+
Last update on Thu Dec 14 2023 for GLFW 3.3.9
|
82
|
+
</p>
|
83
|
+
</address>
|
84
|
+
</body>
|
85
|
+
</html>
|
@@ -0,0 +1,93 @@
|
|
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: glfw-3.3.9 Directory Reference</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
|
+
<!-- window showing the filter options -->
|
49
|
+
<div id="MSearchSelectWindow"
|
50
|
+
onmouseover="return searchBox.OnSearchSelectShow()"
|
51
|
+
onmouseout="return searchBox.OnSearchSelectHide()"
|
52
|
+
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
53
|
+
</div>
|
54
|
+
|
55
|
+
<!-- iframe showing the search results (closed by default) -->
|
56
|
+
<div id="MSearchResultsWindow">
|
57
|
+
<div id="MSearchResults">
|
58
|
+
<div class="SRPage">
|
59
|
+
<div id="SRIndex">
|
60
|
+
<div id="SRResults"></div>
|
61
|
+
<div class="SRStatus" id="Loading">Loading...</div>
|
62
|
+
<div class="SRStatus" id="Searching">Searching...</div>
|
63
|
+
<div class="SRStatus" id="NoMatches">No Matches</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<div id="nav-path" class="navpath">
|
70
|
+
<ul>
|
71
|
+
<li class="navelem"><a class="el" href="dir_2dcebcdf14b42e92a6ed85c61bda6b9d.html">glfw-3.3.9</a></li> </ul>
|
72
|
+
</div>
|
73
|
+
</div><!-- top -->
|
74
|
+
<div class="header">
|
75
|
+
<div class="headertitle"><div class="title">glfw-3.3.9 Directory Reference</div></div>
|
76
|
+
</div><!--header-->
|
77
|
+
<div class="contents">
|
78
|
+
<table class="memberdecls">
|
79
|
+
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="subdirs" name="subdirs"></a>
|
80
|
+
Directories</h2></td></tr>
|
81
|
+
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><span class="iconfclosed"></span> </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_08423ce7729c4554356a7de7171ba263.html">docs</a></td></tr>
|
82
|
+
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
83
|
+
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top"><span class="iconfclosed"></span> </td><td class="memItemRight" valign="bottom"><a class="el" href="dir_dddf4cf62655095a666cf715de3a31a2.html">include</a></td></tr>
|
84
|
+
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
85
|
+
</table>
|
86
|
+
</div><!-- contents -->
|
87
|
+
<address class="footer">
|
88
|
+
<p>
|
89
|
+
Last update on Thu Dec 14 2023 for GLFW 3.3.9
|
90
|
+
</p>
|
91
|
+
</address>
|
92
|
+
</body>
|
93
|
+
</html>
|