HELLO_XR(1)

πŸ“¦
version 1.1.65 Β· 2 versions
, in arch rolling, debian trixie, epel 10, epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– HELLO_XR πŸ’–

okay so bestie, you know how the manual is General Commands Manual, section 1, and this whole thing is literally called hello_xr? yeah. that's the one. let's get into it πŸ¦‹


✨ NAME ✨

hello_xr β€” a sample OpenXR application. that's it, that's the girl. a lil demo app written using the OpenXR API, here to show you the ropes πŸ‘‘


🌸 SYNOPSIS 🌸

hello_xr [-h | --help]
hello_xr -g | --graphics graphics_api [-ff | --formfactor form_factor]
         [-vc | --viewconfig view_config] [-bm | --blendmode blend_mode]
         [-s | --space space] [-v | --verbose]

πŸ’… DESCRIPTION πŸ’…

hello_xr is a sample application written using the OpenXR API. it's giving "reference implementation but make it cute" ✨

The arguments are as follows:

  • -h, --help β€” show brief usage instructions. short and sweet, no notes πŸ’–
  • -g, --graphics graphics_api β€” required, bestie. you have to tell it which graphics API to use. (quick heads up tho: not all graphics APIs are necessarily available on all systems, so don't come for her if yours isn't there πŸ™ˆ) The parameter graphics_api must be one of the following, and it's case-insensitive:
    • D3D11 β€” Direct3D 11 (Windows-only πŸͺŸ)
    • D3D12 β€” Direct3D 12 (Windows-only πŸͺŸ)
    • OpenGLES
    • OpenGL
    • Vulkan
  • -ff, --formfactor form_factor β€” specify the form factor to use. (and ngl, you need a suitable XR system and a runtime that supports the form factor you pick, or it's just not gonna work 😭) The parameter form_factor must be one of the following, case-insensitive:
    • Hmd β€” head-mounted display (default πŸŽ€)
    • Handheld
  • -vc, --viewconfig view_config β€” specify the view configuration to use. (same deal, you need a suitable XR system and a runtime that supports the given view configuration for it to actually work 🫢) The parameter view_config must be one of the following, case-insensitive:
    • Mono
    • Stereo β€” (default πŸ‘‘)
  • -bm, --blendmode blend_mode β€” specify the environment blend mode to use. (again β€” suitable XR system, runtime that supports the given environment blend mode, or it's a no πŸ’€) The parameter blend_mode must be one of the following, case-insensitive:
    • Opaque
    • Additive
    • AlphaBlend
  • -s, --space space β€” specify the space to use. The parameter space must be one of the following, case-insensitive:
    • View
    • Local
    • Stage
  • -v, --verbose β€” enable verbose logging output from the hello_xr application itself. she's chatty, she's telling you everything, we love that for her πŸ”₯

🌈 EXIT STATUS 🌈

The hello_xr utility exits 0 on success, and >0 if an error occurs. so like β€” zero is the slay, anything above zero is the "something went wrong bestie" 😭


🧚 SEE ALSO 🧚


that's the whole vibe check, bestie β€” go forth and XR πŸ’œ

signed, sealed, delivered by Debian, dated March 06, 2020 β€” this page is officially iconic and you can quote me on that πŸ’…βœ¨