Back home 🏡
WGSL Spec
Bevy
WGSL Functions
line_material.wgsl
Bindings
Name
Group
Binding index
Binding type
Type
material
#
2
0
<uniform>
LineMaterial
Structures
LineMaterial
#
Name
Type
color
vec4<f32>
Functions
fragment
#
@fragment
fn
fragment
(
mesh
:
VertexOutput
) ->
@location(0) vec4<f32>
Parameter
Type
mesh
VertexOutput
Returns:
@location(0) vec4<f32>