]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Graphics/Holographic/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Graphics / Holographic / mod.rs
1 #[repr(C)]
2 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
3 pub struct HolographicAdapterId {
4 pub LowPart: u32,
5 pub HighPart: i32,
6 }
7 impl ::core::marker::Copy for HolographicAdapterId {}
8 impl ::core::clone::Clone for HolographicAdapterId {
9 fn clone(&self) -> Self {
10 *self
11 }
12 }
13 pub type HolographicCamera = *mut ::core::ffi::c_void;
14 pub type HolographicCameraPose = *mut ::core::ffi::c_void;
15 pub type HolographicCameraRenderingParameters = *mut ::core::ffi::c_void;
16 pub type HolographicCameraViewportParameters = *mut ::core::ffi::c_void;
17 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
18 #[repr(transparent)]
19 pub struct HolographicDepthReprojectionMethod(pub i32);
20 impl HolographicDepthReprojectionMethod {
21 pub const DepthReprojection: Self = Self(0i32);
22 pub const AutoPlanar: Self = Self(1i32);
23 }
24 impl ::core::marker::Copy for HolographicDepthReprojectionMethod {}
25 impl ::core::clone::Clone for HolographicDepthReprojectionMethod {
26 fn clone(&self) -> Self {
27 *self
28 }
29 }
30 pub type HolographicDisplay = *mut ::core::ffi::c_void;
31 pub type HolographicFrame = *mut ::core::ffi::c_void;
32 #[repr(C)]
33 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
34 pub struct HolographicFrameId {
35 pub Value: u64,
36 }
37 impl ::core::marker::Copy for HolographicFrameId {}
38 impl ::core::clone::Clone for HolographicFrameId {
39 fn clone(&self) -> Self {
40 *self
41 }
42 }
43 pub type HolographicFramePrediction = *mut ::core::ffi::c_void;
44 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
45 #[repr(transparent)]
46 pub struct HolographicFramePresentResult(pub i32);
47 impl HolographicFramePresentResult {
48 pub const Success: Self = Self(0i32);
49 pub const DeviceRemoved: Self = Self(1i32);
50 }
51 impl ::core::marker::Copy for HolographicFramePresentResult {}
52 impl ::core::clone::Clone for HolographicFramePresentResult {
53 fn clone(&self) -> Self {
54 *self
55 }
56 }
57 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
58 #[repr(transparent)]
59 pub struct HolographicFramePresentWaitBehavior(pub i32);
60 impl HolographicFramePresentWaitBehavior {
61 pub const WaitForFrameToFinish: Self = Self(0i32);
62 pub const DoNotWaitForFrameToFinish: Self = Self(1i32);
63 }
64 impl ::core::marker::Copy for HolographicFramePresentWaitBehavior {}
65 impl ::core::clone::Clone for HolographicFramePresentWaitBehavior {
66 fn clone(&self) -> Self {
67 *self
68 }
69 }
70 pub type HolographicFramePresentationMonitor = *mut ::core::ffi::c_void;
71 pub type HolographicFramePresentationReport = *mut ::core::ffi::c_void;
72 pub type HolographicFrameRenderingReport = *mut ::core::ffi::c_void;
73 pub type HolographicFrameScanoutMonitor = *mut ::core::ffi::c_void;
74 pub type HolographicFrameScanoutReport = *mut ::core::ffi::c_void;
75 pub type HolographicQuadLayer = *mut ::core::ffi::c_void;
76 pub type HolographicQuadLayerUpdateParameters = *mut ::core::ffi::c_void;
77 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
78 #[repr(transparent)]
79 pub struct HolographicReprojectionMode(pub i32);
80 impl HolographicReprojectionMode {
81 pub const PositionAndOrientation: Self = Self(0i32);
82 pub const OrientationOnly: Self = Self(1i32);
83 pub const Disabled: Self = Self(2i32);
84 }
85 impl ::core::marker::Copy for HolographicReprojectionMode {}
86 impl ::core::clone::Clone for HolographicReprojectionMode {
87 fn clone(&self) -> Self {
88 *self
89 }
90 }
91 pub type HolographicSpace = *mut ::core::ffi::c_void;
92 pub type HolographicSpaceCameraAddedEventArgs = *mut ::core::ffi::c_void;
93 pub type HolographicSpaceCameraRemovedEventArgs = *mut ::core::ffi::c_void;
94 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
95 #[repr(transparent)]
96 pub struct HolographicSpaceUserPresence(pub i32);
97 impl HolographicSpaceUserPresence {
98 pub const Absent: Self = Self(0i32);
99 pub const PresentPassive: Self = Self(1i32);
100 pub const PresentActive: Self = Self(2i32);
101 }
102 impl ::core::marker::Copy for HolographicSpaceUserPresence {}
103 impl ::core::clone::Clone for HolographicSpaceUserPresence {
104 fn clone(&self) -> Self {
105 *self
106 }
107 }
108 #[repr(C)]
109 #[doc = "*Required features: `\"Graphics_Holographic\"`, `\"Foundation_Numerics\"`*"]
110 #[cfg(feature = "Foundation_Numerics")]
111 pub struct HolographicStereoTransform {
112 pub Left: super::super::Foundation::Numerics::Matrix4x4,
113 pub Right: super::super::Foundation::Numerics::Matrix4x4,
114 }
115 #[cfg(feature = "Foundation_Numerics")]
116 impl ::core::marker::Copy for HolographicStereoTransform {}
117 #[cfg(feature = "Foundation_Numerics")]
118 impl ::core::clone::Clone for HolographicStereoTransform {
119 fn clone(&self) -> Self {
120 *self
121 }
122 }
123 pub type HolographicViewConfiguration = *mut ::core::ffi::c_void;
124 #[doc = "*Required features: `\"Graphics_Holographic\"`*"]
125 #[repr(transparent)]
126 pub struct HolographicViewConfigurationKind(pub i32);
127 impl HolographicViewConfigurationKind {
128 pub const Display: Self = Self(0i32);
129 pub const PhotoVideoCamera: Self = Self(1i32);
130 }
131 impl ::core::marker::Copy for HolographicViewConfigurationKind {}
132 impl ::core::clone::Clone for HolographicViewConfigurationKind {
133 fn clone(&self) -> Self {
134 *self
135 }
136 }