#![deny(missing_docs)]
#![doc = include_str!("../README.md")]
pub mod accessibility;
macro_rules! framework_wgsl {
($name:literal) => {
include_str!(concat!(env!("OUT_DIR"), "/shaders/", $name))
};
}
macro_rules! runtime_shader_wgsl {
($($name:literal),+ $(,)?) => {
concat!(
framework_wgsl!("runtime_shader_prelude.wgsl"),
$(framework_wgsl!($name)),+
)
};
}
pub mod alpha_mask;
mod brush;
mod brush_sampler;
mod color;
mod content_pool;
mod draw_group;
mod draw_placement;
mod float;
pub mod framework_shaders;
mod fx_hash;
mod geometry;
mod gradient_blur;
mod hash_bits;
mod image;
pub mod layer_transform;
pub mod liquid_glass;
mod liquid_widget_shaders;
mod memory_headroom;
mod path;
mod path_fill;
mod path_recording;
mod pointer_icon;
mod record;
pub mod render_effect;
mod render_hash;
mod runtime_shader_uniforms;
mod shader_warm_up;
mod shadow;
mod shape_records;
pub mod space;
mod stroke;
mod stroke_outline;
mod text_primitive;
mod thread_state;
pub mod transform;
mod typography;
pub mod unit;
mod vector_path;
mod vector_path_mask;
mod vertex_gradient;
pub mod whole;
pub use alpha_mask::*;
pub use brush::*;
pub use brush_sampler::*;
pub use color::*;
pub use content_pool::*;
pub use draw_group::*;
pub use draw_placement::DrawPlacement;
pub use fx_hash::*;
pub use geometry::*;
pub use gradient_blur::*;
pub use hash_bits::HashBits;
pub use image::*;
pub use liquid_glass::*;
pub use liquid_widget_shaders::*;
pub use memory_headroom::MemoryHeadroom;
pub use path::*;
pub use path_fill::*;
pub use pointer_icon::*;
pub use record::*;
pub use render_effect::*;
pub use render_hash::*;
pub use shader_warm_up::*;
pub use shadow::*;
pub use shape_records::*;
pub use stroke::*;
pub use text_primitive::{TextPrimitive, align_text_block};
pub use transform::{FrontPolygon, ProjectiveTransform, WindowCoordinates};
pub use typography::*;
pub use unit::*;
pub use vector_path::*;
pub mod prelude {
pub use crate::{
brush::Brush,
color::Color,
geometry::{CornerRadii, EdgeInsets, Point, Rect, RoundedCornerShape, Size},
image::{
ColorFilter, ExternalTexture, ImageBitmap, ImageBitmapError, ImagePixelFormat,
ImageSampling,
},
pointer_icon::{CursorIcon, CustomPointerIcon, PointerIcon, PointerIconError},
stroke::{ArcGeometry, Stroke, StrokeCap, StrokeJoin},
unit::{Dp, Sp},
vector_path::{PathFillRule, SvgPathError, VectorPath},
};
}