lines.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
view
#
![]() |
0 | 0 | <uniform> | View |
line_gizmo
#
![]() |
1 | 0 | <uniform> | LineGizmoUniform |
Annotation | Name | Type |
---|---|---|
location(0) | position_a |
vec3<f32>
![]() |
location(1) | position_b |
vec3<f32>
![]() |
location(2) | color_a |
vec4<f32>
![]() |
location(3) | color_b |
vec4<f32>
![]() |
builtin(vertex_index) | index |
u32
![]() |
Annotation | Name | Type |
---|---|---|
builtin(position) | clip_position |
vec4<f32>
![]() |
location(0) | color |
vec4<f32>
![]() |
location(1) | uv |
f32
![]() |
Annotation | Name | Type |
---|---|---|
builtin(position) | position |
vec4<f32>
![]() |
location(0) | color |
vec4<f32>
![]() |
location(1) | uv |
f32
![]() |
Parameter | Type |
---|---|
vertex | VertexInput |
Parameter | Type |
---|---|
a |
vec4<f32>
![]() |
b |
vec4<f32>
![]() |
Parameter | Type |
---|---|
in | FragmentInput |
Parameter | Type |
---|---|
in | FragmentInput |