2021-12-14 01:44:12 +00:00
|
|
|
def can_build(env, platform):
|
2023-07-18 14:02:47 +00:00
|
|
|
if platform in ("linuxbsd", "windows", "android", "macos"):
|
2022-12-02 10:40:24 +00:00
|
|
|
return env["openxr"] and not env["disable_3d"]
|
2021-12-14 01:44:12 +00:00
|
|
|
else:
|
|
|
|
# not supported on these platforms
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def get_doc_classes():
|
|
|
|
return [
|
|
|
|
"OpenXRInterface",
|
|
|
|
"OpenXRAction",
|
|
|
|
"OpenXRActionSet",
|
|
|
|
"OpenXRActionMap",
|
2023-08-26 15:39:43 +00:00
|
|
|
"OpenXRAPIExtension",
|
|
|
|
"OpenXRExtensionWrapperExtension",
|
2021-12-14 01:44:12 +00:00
|
|
|
"OpenXRInteractionProfile",
|
2023-08-26 15:39:43 +00:00
|
|
|
"OpenXRInteractionProfileMetadata",
|
2021-12-14 01:44:12 +00:00
|
|
|
"OpenXRIPBinding",
|
2022-04-17 02:58:09 +00:00
|
|
|
"OpenXRHand",
|
2024-05-09 07:09:22 +00:00
|
|
|
"OpenXRVisibilityMask",
|
2024-03-25 13:07:28 +00:00
|
|
|
"OpenXRCompositionLayer",
|
|
|
|
"OpenXRCompositionLayerQuad",
|
|
|
|
"OpenXRCompositionLayerCylinder",
|
|
|
|
"OpenXRCompositionLayerEquirect",
|
2021-12-14 01:44:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
def get_doc_path():
|
|
|
|
return "doc_classes"
|