sprite.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
sprite_texture
#
![]() |
1 | 0 | texture_2d<f32> | |
sprite_sampler
#
![]() |
1 | 1 |
sampler
![]() |
Annotation | Name | Type |
---|---|---|
builtin(vertex_index) | index |
u32
![]() |
location(0) | i_model_transpose_col0 |
vec4<f32>
![]() |
location(1) | i_model_transpose_col1 |
vec4<f32>
![]() |
location(2) | i_model_transpose_col2 |
vec4<f32>
![]() |
location(3) | i_color |
vec4<f32>
![]() |
location(4) | i_uv_offset_scale |
vec4<f32>
![]() |
Parameter | Type |
---|---|
in | VertexInput |
Parameter | Type |
---|---|
in | VertexOutput |