Back home 🏡 WGSL Spec Bevy WGSL Functions

tonemapping.wgsl

Bindings

Name Group Binding index Binding type Type
view # 0 0 <uniform> View
hdr_texture # 0 1 texture_2d<f32>
hdr_sampler # 0 2 sampler
dt_lut_texture # 0 3 texture_3d<f32>
dt_lut_sampler # 0 4 sampler

Functions

fragment

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