config.py 840 B

1234567891011121314151617181920212223242526272829303132333435
  1. def can_build(env, platform):
  2. if platform in ("linuxbsd", "windows", "android", "macos"):
  3. return env["openxr"] and not env["disable_3d"]
  4. else:
  5. # not supported on these platforms
  6. return False
  7. def configure(env):
  8. pass
  9. def get_doc_classes():
  10. return [
  11. "OpenXRInterface",
  12. "OpenXRAction",
  13. "OpenXRActionSet",
  14. "OpenXRActionMap",
  15. "OpenXRAPIExtension",
  16. "OpenXRExtensionWrapperExtension",
  17. "OpenXRInteractionProfile",
  18. "OpenXRInteractionProfileMetadata",
  19. "OpenXRIPBinding",
  20. "OpenXRHand",
  21. "OpenXRVisibilityMask",
  22. "OpenXRCompositionLayer",
  23. "OpenXRCompositionLayerQuad",
  24. "OpenXRCompositionLayerCylinder",
  25. "OpenXRCompositionLayerEquirect",
  26. ]
  27. def get_doc_path():
  28. return "doc_classes"