Merge pull request #2593 from iced-rs/fix/slow-ci-docs
Move `wgpu` re-export to root module
This commit is contained in:
commit
ca93c41789
3 changed files with 4 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ mod scene;
|
|||
use scene::Scene;
|
||||
|
||||
use iced::time::Instant;
|
||||
use iced::widget::shader::wgpu;
|
||||
use iced::wgpu;
|
||||
use iced::widget::{center, checkbox, column, row, shader, slider, text};
|
||||
use iced::window;
|
||||
use iced::{Center, Color, Element, Fill, Subscription};
|
||||
|
|
|
|||
|
|
@ -483,6 +483,9 @@ pub use iced_futures::stream;
|
|||
#[cfg(feature = "highlighter")]
|
||||
pub use iced_highlighter as highlighter;
|
||||
|
||||
#[cfg(feature = "wgpu")]
|
||||
pub use iced_renderer::wgpu::wgpu;
|
||||
|
||||
mod error;
|
||||
mod program;
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ use crate::renderer::wgpu::primitive;
|
|||
use std::marker::PhantomData;
|
||||
|
||||
pub use crate::graphics::Viewport;
|
||||
pub use crate::renderer::wgpu::wgpu;
|
||||
pub use primitive::{Primitive, Storage};
|
||||
|
||||
/// A widget which can render custom shaders with Iced's `wgpu` backend.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue