Back home 🏡 WGSL Spec Bevy WGSL Functions

copy_deferred_lighting_id.wgsl

Bindings

Name Group Binding index Binding type Type
material_id_texture # 0 0 texture_2d<u32>

Structures

FragmentOutput

#
Annotation Name Type
builtin(frag_depth) frag_depth f32

Functions

fragment

#
@fragment
fn fragment(in: FullscreenVertexOutput) -> FragmentOutput
Parameter Type
in FullscreenVertexOutput
Returns: FragmentOutput