Introduce iced_renderer subcrate featuring runtime renderer fallback
This commit is contained in:
parent
368cadd25a
commit
5100b5d0a1
16 changed files with 371 additions and 72 deletions
17
renderer/src/lib.rs
Normal file
17
renderer/src/lib.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
pub mod window;
|
||||
|
||||
mod backend;
|
||||
mod settings;
|
||||
|
||||
pub use backend::Backend;
|
||||
pub use settings::Settings;
|
||||
|
||||
pub use iced_graphics::{
|
||||
Antialiasing, Color, Error, Font, Point, Size, Viewport,
|
||||
};
|
||||
|
||||
/// The default graphics renderer for [`iced`].
|
||||
///
|
||||
/// [`iced`]: https://github.com/iced-rs/iced
|
||||
pub type Renderer<Theme = iced_native::Theme> =
|
||||
iced_graphics::Renderer<Backend, Theme>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue