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
34
35
36
37
#[cfg(feature = "metal")]
#[cfg(target_os="macos")]
/// Frame -> Metal Texture conversion
/// (requires `metal` feature)
pub mod metal;
#[cfg(feature = "dxgi")]
#[cfg(target_os="windows")]
/// Frame -> DXGI Surface conversion
/// (requires `dxgi` feature)
pub mod dxgi;
#[cfg(feature = "dx11")]
#[cfg(target_os="windows")]
/// Frame -> DX11 Surface/Texture conversion
/// (requires `dx11` feature)
pub mod dx11;
#[cfg(feature = "iosurface")]
#[cfg(target_os="macos")]
/// Frame -> IOSurface conversion
/// (requires `iosurface` feature)
pub mod iosurface;
#[cfg(feature = "bitmap")]
/// Frame to Bitmap conversion
/// (requires `bitmap` feature)
pub mod bitmap;
#[cfg(feature = "wgpu")]
/// Frame -> Wgpu Texture conversion
/// (requires `wgpu` feature)
pub mod wgpu;
#[cfg(feature = "screenshot")]
/// Screenshot utility function
/// (requires `screenshot` feature)
pub mod screenshot;
//#[cfg(feature = "content_picker")]
//pub mod content_picker;

#[cfg(feature = "diagnostic")]
pub mod diagnostic;