storage_buffer.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
colors
#
![]() |
2 | 0 | <storage, read> |
array<vec4<f32>, 5>
![]() |
Annotation | Name | Type |
---|---|---|
builtin(position) | clip_position |
vec4<f32>
![]() |
location(0) | world_position |
vec4<f32>
![]() |
location(1) | color |
vec4<f32>
![]() |
Parameter | Type |
---|---|
vertex | Vertex |
Parameter | Type |
---|---|
mesh | VertexOutput |