line_joints.wgsl
Name | Group | Binding index | Binding type | Type |
---|---|---|---|---|
view
#
![]() |
0 | 0 | <uniform> | View |
joints_gizmo
#
![]() |
1 | 0 | <uniform> | LineGizmoUniform |
Name | Type | Shader Def |
---|---|---|
line_width |
f32
![]() |
|
depth_bias |
f32
![]() |
|
resolution |
u32
![]() |
|
_padding |
f32
![]() |
🟢 SIXTEEN_BYTE_ALIGNMENT |
Annotation | Name | Type |
---|---|---|
location(0) | position_a |
vec3<f32>
![]() |
location(1) | position_b |
vec3<f32>
![]() |
location(2) | position_c |
vec3<f32>
![]() |
location(3) | color |
vec4<f32>
![]() |
builtin(vertex_index) | index |
u32
![]() |
Parameter | Type |
---|---|
vertex | VertexInput |
Parameter | Type |
---|---|
vertex | VertexInput |
Parameter | Type |
---|---|
vertex | VertexInput |
Parameter | Type |
---|---|
a |
vec4<f32>
![]() |
b |
vec4<f32>
![]() |
Parameter | Type |
---|---|
in | FragmentInput |