Browse code

Add `webopengl`, `webvulkan`

Robert Cranston authored on 24/11/2025 22:10:33
Showing 2 changed files

... ...
@@ -29,3 +29,13 @@ webwin32()
29 29
   # websearch "https://learn.microsoft.com/en-us/windows/win32/api/" "$@"
30 30
   websearch "https://learn.microsoft.com/en-us/windows/" "win32/api" "$@"
31 31
 }
32
+
33
+webopengl()
34
+{
35
+  websearch "https://registry.khronos.org/OpenGL-Refpages/" "$@"
36
+}
37
+
38
+webvulkan()
39
+{
40
+  websearch "https://docs.vulkan.org/refpages/" "$@"
41
+}
... ...
@@ -10,6 +10,8 @@ Provided shell functions:
10 10
 -   `webcpp <terms>`: C++ part of [cppreference][].
11 11
 -   `webc <terms>`: C part of [cppreference][].
12 12
 -   `webwin32 <terms>`: Native C/C++ [Windows API][] (also 64-bit).
13
+-   `webopengl <terms>`: [OpenGL][] refpages.
14
+-   `webvulkan <terms>`: [Vulkan][] refpages.
13 15
 
14 16
 [`dotfiles-websearch`]: https://git.rcrnstn.net/rcrnstn/dotfiles-websearch
15 17
 [dotfile]: https://en.wikipedia.org/wiki/Hidden_file_and_hidden_directory#Unix_and_Unix-like_environments
... ...
@@ -20,6 +22,8 @@ Provided shell functions:
20 22
 [Ubuntu]: https://en.wikipedia.org/wiki/Ubuntu
21 23
 [cppreference]: https://en.cppreference.com/
22 24
 [Windows API]: https://en.wikipedia.org/wiki/Windows_API#Major_versions
25
+[OpenGL]: https://en.wikipedia.org/wiki/OpenGL
26
+[Vulkan]: https://en.wikipedia.org/wiki/Vulkan
23 27
 
24 28
 ## License
25 29