Back home 🏡
WGSL Spec
Bevy
WGSL Functions
pbr.wgsl
Functions
fragment
#
@fragment
fn
fragment
(
frag_coord
:
vec4<f32>
,
in
:
VertexOutput
,
is_front
:
bool
) ->
FragmentOutput
Parameter
Type
frag_coord
vec4<f32>
in
VertexOutput
is_front
bool
Returns:
FragmentOutput