Search across packages, versions, files, declarations, and comments. Use multiple terms to narrow results (AND), and add @vertex, @fragment, or @compute to filter by shader stage.

Bindings

material_id_texture

#
@group(0)
@binding(0)
var material_id_texture: texture_2d<u32>

Structures

FragmentOutput

#
struct FragmentOutput {
@builtin(frag_depth)
frag_depth: f32 ,
}

Functions

fragment

#
@fragment
Calculates the final color of each pixel on the screen
fn fragment (
in: FullscreenVertexOutput
) -> FragmentOutput
Contents