Implement GraphicsInformation for iced_wgpu

This commit is contained in:
Richard 2022-03-17 00:34:42 -03:00
parent e23e4b8db2
commit 83fec2f5f6
2 changed files with 14 additions and 0 deletions

View file

@ -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