ui_texture_slice.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
view
#
![]() |
0 | 0 | <uniform> | View |
globals
#
![]() |
0 | 1 | <uniform> | Globals |
sprite_texture
#
![]() |
1 | 0 | texture_2d<f32> | |
sprite_sampler
#
![]() |
1 | 1 |
sampler
![]() |
Annotation | Name | Type |
---|---|---|
location(0) | uv |
vec2<f32>
![]() |
location(1) | color |
vec4<f32>
![]() |
builtin(position) | position |
vec4<f32>
![]() |
Parameter | Type |
---|---|
vertex_position |
vec3<f32>
![]() |
vertex_uv |
vec2<f32>
![]() |
vertex_color |
vec4<f32>
![]() |
texture_slices |
vec4<f32>
![]() |
target_slices |
vec4<f32>
![]() |
repeat |
vec4<f32>
![]() |
atlas_rect |
vec4<f32>
![]() |
Parameter | Type |
---|---|
uv |
vec2<f32>
![]() |
target_slices |
vec4<f32>
![]() |
texture_slices |
vec4<f32>
![]() |
repeat |
vec4<f32>
![]() |
Parameter | Type |
---|---|
in | UiVertexOutput |