HELLO_XR(1)
π 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,--graphicsgraphics_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 πͺ)OpenGLESOpenGLVulkan
-ff,--formfactorform_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,--viewconfigview_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:MonoStereoβ (default π)
-bm,--blendmodeblend_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:OpaqueAdditiveAlphaBlend
-s,--spacespace β specify the space to use. The parameter space must be one of the following, case-insensitive:ViewLocalStage
-v,--verboseβ enable verbose logging output from thehello_xrapplication 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 π§
openxr_runtime_list(1)- <https://registry.khronos.org/OpenXR/>
- <https://github.com/KhronosGroup/OpenXR-SDK-Source/tree/main/src/tests/hello_xr>
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 π β¨
π¦ where this page comes from
- arch rolling: openxr 1.1.60-2 Β· Apache-2.0
- debian trixie: libopenxr-utils 1.1.47~ds-2 Β· CC-BY-4.0
- epel 10: openxr 1.1.62-1.el10_3 Β· Apache-2.0
- epel 9: openxr 1.1.59-1.el9 Β· Apache-2.0
- fedora 43: openxr 1.1.52-1.fc43 Β· Apache-2.0
- fedora 43: openxr 1.1.63-1.fc43
- fedora 43: openxr 1.1.65-1.fc43 Β· Apache-2.0
- fedora 44: openxr 1.1.57-1.fc44 Β· Apache-2.0
- fedora 44: openxr 1.1.63-1.fc44
- fedora 44: openxr 1.1.65-1.fc44 Β· Apache-2.0
- nixos 26.05: openxr-loader 1.1.54
- nixpkgs unstable: openxr-loader 1.1.65
- ubuntu questing: libopenxr-utils 1.1.47~ds-2
- ubuntu resolute: libopenxr-utils 1.1.47~ds-2build1 Β· CC-BY-4.0
- ubuntu stonking: libopenxr-utils 1.1.61~ds-1 Β· CC-BY-4.0
- π the page's license: Apache-2.0
- Copyright 2020, Collabora, Ltd
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms