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

meshlet_visibility_buffer

#
@if(MESHLET_VISIBILITY_BUFFER_RASTER_PASS_OUTPUT)
@group(0)
@binding(0)
var meshlet_visibility_buffer: texture_storage_2d<r64uint, read>
@else()
@group(0)
@binding(0)
var meshlet_visibility_buffer: texture_storage_2d<r32uint, read>

meshlet_raster_clusters

#
@group(0)
@binding(1)
var<storage, read> meshlet_raster_clusters: array<InstancedOffset>

meshlet_instance_material_ids

#
@group(0)
@binding(2)
var<storage, read> meshlet_instance_material_ids: array<u32>

Functions

resolve_depth

#
@fragment
Calculates the final color of each pixel on the screen
fn resolve_depth (
in: FullscreenVertexOutput
) ->
@builtin(frag_depth)
f32

resolve_material_depth

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