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
28
29
30
31
32
33
#[derive(Debug, Clone)]
#[cfg_attr(feature = "serde-serialization", derive(Deserialize, Serialize))]
pub struct VRDisplayCapabilities {
pub has_position: bool,
pub has_orientation: bool,
pub has_external_display: bool,
pub can_present: bool,
pub max_layers: u64
}
impl Default for VRDisplayCapabilities {
fn default() -> VRDisplayCapabilities {
VRDisplayCapabilities {
has_position: false,
has_orientation: false,
has_external_display: false,
can_present: false,
max_layers: 0
}
}
}