box_shadow.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
view
#
![]() |
0 | 0 | <uniform> | View |
Annotation | Name | Type |
---|---|---|
builtin(position) | position |
vec4<f32>
![]() |
location(0) | point |
vec2<f32>
![]() |
location(1) | color |
vec4<f32>
![]() |
Parameter | Type |
---|---|
p |
vec2<f32>
![]() |
Parameter | Type |
---|---|
p |
vec2<f32>
![]() |
c |
vec4<f32>
![]() |
Parameter | Type |
---|---|
x |
f32
![]() |
y |
f32
![]() |
blur |
f32
![]() |
corner |
f32
![]() |
half_size |
vec2<f32>
![]() |
Parameter | Type |
---|---|
lower |
vec2<f32>
![]() |
upper |
vec2<f32>
![]() |
point |
vec2<f32>
![]() |
blur |
f32
![]() |
corners |
vec4<f32>
![]() |
Parameter | Type |
---|---|
vertex_position |
vec3<f32>
![]() |
uv |
vec2<f32>
![]() |
vertex_color |
vec4<f32>
![]() |
size |
vec2<f32>
![]() |
radius |
vec4<f32>
![]() |
blur |
f32
![]() |
bounds |
vec2<f32>
![]() |
Parameter | Type |
---|---|
in | BoxShadowVertexOutput |