Reexport Transformation from widget::shader
This commit is contained in:
parent
36e8521593
commit
91fca024b6
2 changed files with 2 additions and 1 deletions
|
|
@ -18,6 +18,7 @@ pub use event::Event;
|
||||||
pub use iced_wgpu::custom::Primitive;
|
pub use iced_wgpu::custom::Primitive;
|
||||||
pub use iced_wgpu::custom::Storage;
|
pub use iced_wgpu::custom::Storage;
|
||||||
pub use program::Program;
|
pub use program::Program;
|
||||||
|
pub use iced_graphics::Transformation;
|
||||||
|
|
||||||
/// A widget which can render custom shaders with Iced's `wgpu` backend.
|
/// A widget which can render custom shaders with Iced's `wgpu` backend.
|
||||||
///
|
///
|
||||||
|
|
|
||||||
|
|
@ -98,7 +98,7 @@ pub use tooltip::Tooltip;
|
||||||
pub use vertical_slider::VerticalSlider;
|
pub use vertical_slider::VerticalSlider;
|
||||||
|
|
||||||
#[cfg(feature = "wgpu")]
|
#[cfg(feature = "wgpu")]
|
||||||
pub use renderer::widget::shader::{self, Shader};
|
pub use renderer::widget::shader::{self, Shader, Transformation};
|
||||||
|
|
||||||
#[cfg(feature = "svg")]
|
#[cfg(feature = "svg")]
|
||||||
pub mod svg;
|
pub mod svg;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue