diff options
Diffstat (limited to 'wgpu/src/quad.rs')
-rw-r--r-- | wgpu/src/quad.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/wgpu/src/quad.rs b/wgpu/src/quad.rs index 4bcf9a66..cda1bec9 100644 --- a/wgpu/src/quad.rs +++ b/wgpu/src/quad.rs @@ -201,6 +201,15 @@ pub struct Quad { /// The border width of the [`Quad`]. pub border_width: f32, + + /// The shadow color of the [`Quad`]. + pub shadow_color: [f32; 4], + + /// The shadow offset of the [`Quad`]. + pub shadow_offset: [f32; 2], + + /// The shadow blur radius of the [`Quad`]. + pub shadow_blur_radius: f32, } /// A group of [`Quad`]s rendered together. |