Implement GraphicsInformation for iced_glow
This commit is contained in:
parent
83fec2f5f6
commit
2b4d8a7b26
2 changed files with 13 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
use crate::window::GraphicsInformation;
|
||||
use crate::{Color, Error, Size, Viewport};
|
||||
|
||||
use core::ffi::c_void;
|
||||
|
|
@ -48,6 +49,9 @@ pub trait GLCompositor: Sized {
|
|||
/// Resizes the viewport of the [`GLCompositor`].
|
||||
fn resize_viewport(&mut self, physical_size: Size<u32>);
|
||||
|
||||
/// Returns [`GraphicsInformation`] used by this [`Compositor`].
|
||||
fn get_information(&self) -> GraphicsInformation;
|
||||
|
||||
/// Presents the primitives of the [`Renderer`] to the next frame of the
|
||||
/// [`GLCompositor`].
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue