custom_material.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
material_color
#
![]() |
2 | 0 | <uniform> |
vec4<f32>
![]() |
material_color_texture
#
![]() |
2 | 1 | texture_2d<f32> | |
material_color_sampler
#
![]() |
2 | 2 |
sampler
![]() |
Parameter | Type |
---|---|
mesh | VertexOutput |