custom_vertex_attribute.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
material
#
![]() |
2 | 0 | <uniform> | CustomMaterial |
Annotation | Name | Type |
---|---|---|
builtin(instance_index) | instance_index |
u32
![]() |
location(0) | position |
vec3<f32>
![]() |
location(1) | blend_color |
vec4<f32>
![]() |
Parameter | Type |
---|---|
vertex | Vertex |
Parameter | Type |
---|---|
input | FragmentInput |