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.

Constants

exposure

#
const exposure: f32 = 1.0

gain

#
const gain: f32 = exposure * 2.0

Functions

tonemap

#
fn tonemap (
c: vec2f
) -> f32

vert_main

#
fn vert_main (
@builtin(vertex_index)
vi: u32
) ->
@builtin(position)
vec4f

frag_main

#
fn frag_main (
@builtin(position)
pos: vec4f
) ->
@location(0)
vec4f
Contents