summaryrefslogtreecommitdiff
path: root/modules/openxr/config.py
blob: e503f1273919ba513aa2a53a824a63c11a60d4ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
def can_build(env, platform):
    if platform in ("linuxbsd", "windows", "android"):
        return env["openxr"] and not env["disable_3d"]
    else:
        # not supported on these platforms
        return False


def configure(env):
    pass


def get_doc_classes():
    return [
        "OpenXRInterface",
        "OpenXRAction",
        "OpenXRActionSet",
        "OpenXRActionMap",
        "OpenXRInteractionProfile",
        "OpenXRIPBinding",
        "OpenXRHand",
    ]


def get_doc_path():
    return "doc_classes"