2021-12-14 02:44:12 +01:00
|
|
|
def can_build(env, platform):
|
2023-07-18 16:02:47 +02:00
|
|
|
if platform in ("linuxbsd", "windows", "android", "macos"):
|
2022-12-02 11:40:24 +01:00
|
|
|
return env["openxr"] and not env["disable_3d"]
|
2021-12-14 02:44:12 +01:00
|
|
|
else:
|
|
|
|
# not supported on these platforms
|
|
|
|
return False
|
|
|
|
|
|
|
|
|
|
|
|
def configure(env):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
def get_doc_classes():
|
|
|
|
return [
|
|
|
|
"OpenXRInterface",
|
|
|
|
"OpenXRAction",
|
|
|
|
"OpenXRActionSet",
|
|
|
|
"OpenXRActionMap",
|
|
|
|
"OpenXRInteractionProfile",
|
|
|
|
"OpenXRIPBinding",
|
2022-04-17 04:58:09 +02:00
|
|
|
"OpenXRHand",
|
2021-12-14 02:44:12 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
def get_doc_path():
|
|
|
|
return "doc_classes"
|