Allow individual corner radii on drop shadows

This commit is contained in:
Nathan Sobo 2023-08-12 10:58:04 -06:00
parent 40f478937e
commit 65123e6eed
6 changed files with 50 additions and 19 deletions

View file

@ -34,7 +34,10 @@ typedef enum {
typedef struct {
vector_float2 origin;
vector_float2 size;
float corner_radius;
float corner_radius_top_left;
float corner_radius_top_right;
float corner_radius_bottom_right;
float corner_radius_bottom_left;
float sigma;
vector_uchar4 color;
} GPUIShadow;