rust_webvr/api/
mod.rs

1#[cfg(feature = "vrexternal")]
2mod vrexternal;
3#[cfg(feature = "vrexternal")]
4pub use self::vrexternal::VRExternalShmemPtr;
5#[cfg(all(feature = "vrexternal", target_os= "android"))]
6pub use self::vrexternal::VRExternalServiceCreator;
7
8#[cfg(feature = "mock")]
9mod mock;
10#[cfg(feature = "mock")]
11pub use self::mock::{MockServiceCreator, MockVRControlMsg, MockVRInit};
12
13#[cfg(feature = "glwindow")]
14mod glwindow;
15#[cfg(feature = "glwindow")]
16pub use self::glwindow::GlWindowVRService;
17
18#[cfg(feature = "magicleap")]
19mod magicleap;
20#[cfg(feature = "magicleap")]
21pub use self::magicleap::MagicLeapVRService;
22
23#[cfg(all(target_os="windows", feature = "openvr"))]
24mod openvr;
25#[cfg(all(target_os="windows", feature = "openvr"))]
26pub use self::openvr::OpenVRServiceCreator;
27
28#[cfg(all(feature = "googlevr", target_os= "android"))]
29mod googlevr;
30#[cfg(all(feature = "googlevr", target_os= "android"))]
31pub use self::googlevr::GoogleVRServiceCreator;
32#[cfg(all(feature = "googlevr", target_os= "android"))]
33pub use self::googlevr::jni::*;
34
35#[cfg(all(feature = "oculusvr", target_os= "android"))]
36mod oculusvr;
37#[cfg(all(feature = "oculusvr", target_os= "android"))]
38pub use self::oculusvr::OculusVRServiceCreator;
39#[cfg(all(feature = "oculusvr", target_os= "android"))]
40pub use self::oculusvr::jni::*;