Back home 🏡 WGSL Spec Bevy WGSL Functions

wireframe2d.wgsl

Bindings

Name Group Binding index Binding type Type
material # 2 0 <uniform> WireframeMaterial

Structures

WireframeMaterial

#
Name Type
color vec4<f32>

Functions

fragment

#
@fragment
fn fragment(in: VertexOutput) -> @location(0) vec4<f32>
Parameter Type
in VertexOutput
Returns: @location(0) vec4<f32>