viscosity/engine/modules/webxr/config.py

18 lines
346 B
Python

def can_build(env, platform):
if platform == "web" and env["proxy_to_pthread"]:
# WebXR is incompatible with proxy_to_pthread.
return False
return env["opengl3"] and not env["disable_xr"]
def configure(env):
pass
def get_doc_classes():
return ["WebXRInterface"]
def get_doc_path():
return "doc_classes"