diff options
author | 2022-03-17 00:34:42 -0300 | |
---|---|---|
committer | 2022-04-26 18:58:19 -0300 | |
commit | 83fec2f5f6231f3871ecfccf594a555253f8286c (patch) | |
tree | 995627648d42afd99f0f64bf592d088a39cfbc91 /graphics/src/window/compositor.rs | |
parent | e23e4b8db20f3910bb6617a6931c9a8906791f8e (diff) | |
download | iced-83fec2f5f6231f3871ecfccf594a555253f8286c.tar.gz iced-83fec2f5f6231f3871ecfccf594a555253f8286c.tar.bz2 iced-83fec2f5f6231f3871ecfccf594a555253f8286c.zip |
Implement `GraphicsInformation` for `iced_wgpu`
Diffstat (limited to 'graphics/src/window/compositor.rs')
-rw-r--r-- | graphics/src/window/compositor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/src/window/compositor.rs b/graphics/src/window/compositor.rs index 5987b118..035101c9 100644 --- a/graphics/src/window/compositor.rs +++ b/graphics/src/window/compositor.rs @@ -38,6 +38,9 @@ pub trait Compositor: Sized { height: u32, ); + /// Returns [`GraphicsInformation`] used by this [`Compositor`]. + fn get_information(&self) -> GraphicsInformation; + /// Presents the [`Renderer`] primitives to the next frame of the given [`Surface`]. /// /// [`SwapChain`]: Self::SwapChain |