summaryrefslogtreecommitdiff
path: root/modules/openxr/config.py
blob: f91cb1359f6be0575d9d22e0fa3b88f7a474915b (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
27
def can_build(env, platform):
    if (
        platform == "linuxbsd" or platform == "windows"
    ):  # or platform == "android" -- temporarily disabled android support
        return env["openxr"]
    else:
        # not supported on these platforms
        return False


def configure(env):
    pass


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


def get_doc_path():
    return "doc_classes"